diff --git a/include/glu.h b/include/glu.h index 29ba7f4..dcb89f2 100755 --- a/include/glu.h +++ b/include/glu.h @@ -15,10 +15,12 @@ #include __BEGIN_DECLS +#ifndef BUILD_LIBGL #include +#endif -#define GLU_FALSE GL_FALSE -#define GLU_TRUE GL_TRUE +#define GLU_FALSE 0 +#define GLU_TRUE 1 /* Mip-Mapped Textures MUST be square or rectangle */ GLAPI GLint APIENTRY gluBuild2DMipmaps(GLenum target, GLint internalFormat, diff --git a/include/glut.h b/include/glut.h index 406f867..91e4b04 100755 --- a/include/glut.h +++ b/include/glut.h @@ -12,7 +12,9 @@ #include __BEGIN_DECLS +#ifndef BUILD_LIBGL #include +#endif /* Flush the Submitted Primitive Data to the GPU for render */ GLAPI void APIENTRY glutSwapBuffers();