summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ac9bc8c..57716da 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2,20 +2,16 @@
#include "testApp.h"
#include "ofAppGlutWindow.h"
-// Includes for Mac OSX
-
-#include <GLUT/glut.h>
-#include <OpenGL/gl.h>
-#include <OpenGL/glu.h>
-
-/*
- //Includes for Windows
-
+#ifdef TARGET_OSX
+ #include <GLUT/glut.h>
+ #include <OpenGL/gl.h>
+ #include <OpenGL/glu.h>
+#else
#include <GL/glew.h>
#include <GL/glut.h>
#include <GL/freeglut.h>
#include <iostream>
- */
+#endif
//========================================================================
int main( ){