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:
@@ -27,13 +27,9 @@
|
|||||||
#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
|
#else
|
||||||
# include <glu.h>
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -25,13 +25,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "penguin.h"
|
#include "penguin.h"
|
||||||
#ifdef __WXMAC__
|
|
||||||
#ifdef __DARWIN__
|
#ifdef __DARWIN__
|
||||||
#include <OpenGL/glu.h>
|
#include <OpenGL/glu.h>
|
||||||
#else
|
#else
|
||||||
# include <glu.h>
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
#include <GL/glu.h>
|
#include <GL/glu.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user