specify GL_GLEXT_PROTOTYPES in build environment

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

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'))

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>