[Plib-cvs] plib/demos/ttt3d/src p3d.h,1.4,1.5
Brought to you by:
sjbaker
|
From: Sebastian U. <ud...@us...> - 2002-09-01 07:10:12
|
Update of /cvsroot/plib/plib/demos/ttt3d/src In directory usw-pr-cvs1:/tmp/cvs-serv9277 Modified Files: p3d.h Log Message: Mac OS-X compatibility Index: p3d.h =================================================================== RCS file: /cvsroot/plib/plib/demos/ttt3d/src/p3d.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- p3d.h 31 Aug 2002 08:05:49 -0000 1.4 +++ p3d.h 1 Sep 2002 07:10:09 -0000 1.5 @@ -35,7 +35,16 @@ #include <plib/ssg.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/sl.h> #include <plib/js.h> #include <plib/fnt.h> |