Fixed: Compilation on Mac OS X 10.5

hg/feature/sound
kervala 14 years ago
parent 5a308b9334
commit 9e9828ddb9

@ -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;
} }

Loading…
Cancel
Save