wxCocoa compilation fixes (include OpenGL/glu.h there too)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-11-10 15:16:02 +00:00
parent 519337dee7
commit 65f4ce38c6
2 changed files with 6 additions and 14 deletions

View File

@@ -27,14 +27,10 @@
#error "OpenGL required: set wxUSE_GLCANVAS to 1 and rebuild the library" #error "OpenGL required: set wxUSE_GLCANVAS to 1 and rebuild the library"
#endif #endif
#ifdef __WXMAC__ #ifdef __DARWIN__
# ifdef __DARWIN__ #include <OpenGL/glu.h>
# include <OpenGL/glu.h>
# else
# include <glu.h>
# endif
#else #else
# include <GL/glu.h> #include <GL/glu.h>
#endif #endif
#include "dxfrenderer.h" #include "dxfrenderer.h"

View File

@@ -25,14 +25,10 @@
#endif #endif
#include "penguin.h" #include "penguin.h"
#ifdef __WXMAC__ #ifdef __DARWIN__
# ifdef __DARWIN__ #include <OpenGL/glu.h>
# include <OpenGL/glu.h>
# else
# include <glu.h>
# endif
#else #else
# include <GL/glu.h> #include <GL/glu.h>
#endif #endif
#include "../../sample.xpm" #include "../../sample.xpm"