Kaydet (Commit) 0e60b337 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fix OSX build

don't require Obj-C features in header files

Change-Id: Ibeea090b6b2bda191b8e8ffd08f15907653fd830
üst 4f321bd2
...@@ -31,7 +31,11 @@ ...@@ -31,7 +31,11 @@
#include <GL/wglext.h> #include <GL/wglext.h>
#elif defined( MACOSX ) #elif defined( MACOSX )
#include <OpenGL/OpenGL.h> #include <OpenGL/OpenGL.h>
#ifdef __OBJC__
@class NSOpenGLView; @class NSOpenGLView;
#else
class NSOpenGLView;
#endif
#elif defined( IOS ) #elif defined( IOS )
#elif defined( ANDROID ) #elif defined( ANDROID )
#elif defined( UNX ) #elif defined( UNX )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment