aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 359e825..25d5abf 100644
--- a/include/common.h
+++ b/include/common.h
@@ -14,6 +14,7 @@
* Include GLEW and the SDL 2 headers
*/
+#define GLEW_STATIC
#include <GL/glew.h>
#include <SDL2/SDL.h>
@@ -23,6 +24,11 @@
#include <string>
#include <fstream>
+#ifdef __WIN32__
+typedef unsigned int uint;
+#undef near
+#endif
+
/*
* Include file headers
*/