specify GL_GLEXT_PROTOTYPES in build environment

This commit is contained in:
Josh Holtrop committed 2011-05-16 15:54:35 -04:00
1 parent 08e558482f
commit 1ecc6d749b
2 files changed
+1 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# vim:filetype=python # vim:filetype=python
env = Environment(LIBS = ['GL'], CXXFLAGS = ['-Wall']) env = Environment(LIBS = ['GL'], CXXFLAGS = ['-Wall', '-DGL_GLEXT_PROTOTYPES'])
env.Program('driver', Glob('*.cc')) env.Program('driver', Glob('*.cc'))
-2
View File
@@ -1,6 +1,4 @@
#define GL_GLEXT_PROTOTYPES
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>