[Plib-cvs] plib/demos/exposer/src exposer.h,1.10,1.11
Brought to you by:
sjbaker
|
From: Sebastian U. <ud...@us...> - 2002-09-01 07:09:25
|
Update of /cvsroot/plib/plib/demos/exposer/src In directory usw-pr-cvs1:/tmp/cvs-serv9103 Modified Files: exposer.h Log Message: Mac OS-X compatibility Index: exposer.h =================================================================== RCS file: /cvsroot/plib/plib/demos/exposer/src/exposer.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- exposer.h 31 Aug 2002 08:27:52 -0000 1.10 +++ exposer.h 1 Sep 2002 07:09:22 -0000 1.11 @@ -32,7 +32,17 @@ #include <unistd.h> #endif #include <math.h> -#include <GL/glut.h> + +#ifdef FREEGLUT_IS_PRESENT +# include <GL/freeglut.h> +#else +# ifdef __APPLE__ +# include <GLUT/glut.h> +# else +# include <GL/glut.h> +# endif +#endif + #include <plib/pu.h> #include <plib/ssgAux.h> |