Update of /cvsroot/plib/plib/demos/simon/src
In directory usw-pr-cvs1:/tmp/cvs-serv14443
Modified Files:
simon.h
Log Message:
Mac OS-X compatibility
Index: simon.h
===================================================================
RCS file: /cvsroot/plib/plib/demos/simon/src/simon.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- simon.h 15 Sep 2002 02:33:33 -0000 1.4
+++ simon.h 15 Sep 2002 02:51:44 -0000 1.5
@@ -32,8 +32,18 @@
# include <unistd.h>
#endif
#include <math.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/ssg.h>
-#include <GL/glut.h>
#define SI_MAX_MODELS 500
@@ -70,5 +80,4 @@
bool siJoystickD () ;
bool siJoystickL () ;
bool siJoystickR () ;
-
|