diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h b/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h index cd0afe2fa..1cb5e82c9 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h @@ -16,13 +16,16 @@ #import -namespace NL3D +namespace NL3D { class CDriverGL; NSApplicationTerminateReply applicationShouldTerminate(CDriverGL*); } -@interface CocoaApplicationDelegate : NSObject +@interface CocoaApplicationDelegate : NSObject +#if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 + +#endif { NL3D::CDriverGL* _driver; }