From 9e9828ddb98cb8556fc1ca725c1ef9c0b6b31287 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 9 Nov 2010 13:21:17 +0100 Subject: [PATCH] Fixed: Compilation on Mac OS X 10.5 --- .../src/3d/driver/opengl/mac/cocoa_application_delegate.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; }