Fixed: Compilation on Mac OS X 10.5

This commit is contained in:
kervala 2010-11-09 13:21:17 +01:00
parent 436980f2e8
commit f912706dfd

View file

@ -16,13 +16,16 @@
#import <Cocoa/Cocoa.h> #import <Cocoa/Cocoa.h>
namespace NL3D namespace NL3D
{ {
class CDriverGL; class CDriverGL;
NSApplicationTerminateReply applicationShouldTerminate(CDriverGL*); NSApplicationTerminateReply applicationShouldTerminate(CDriverGL*);
} }
@interface CocoaApplicationDelegate : NSObject<NSApplicationDelegate> @interface CocoaApplicationDelegate : NSObject
#if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
<NSApplicationDelegate>
#endif
{ {
NL3D::CDriverGL* _driver; NL3D::CDriverGL* _driver;
} }