From 1ecc6d749be3bc3f5dc0de230b5e8e3ca079377a Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 16 May 2011 15:54:35 -0400 Subject: [PATCH] specify GL_GLEXT_PROTOTYPES in build environment --- SConstruct | 2 +- WFObj.cc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index 3dd180b..1fdefa5 100644 --- a/SConstruct +++ b/SConstruct @@ -1,6 +1,6 @@ # vim:filetype=python -env = Environment(LIBS = ['GL'], CXXFLAGS = ['-Wall']) +env = Environment(LIBS = ['GL'], CXXFLAGS = ['-Wall', '-DGL_GLEXT_PROTOTYPES']) env.Program('driver', Glob('*.cc')) diff --git a/WFObj.cc b/WFObj.cc index a84bbb8..0a31162 100644 --- a/WFObj.cc +++ b/WFObj.cc @@ -1,6 +1,4 @@ -#define GL_GLEXT_PROTOTYPES - #include #include #include