diff options
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index 0e4373b..b0ffec7 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,12 @@ #include <string> #include <fstream> + +#ifdef __WIN32__ +typedef unsigned int uint; +#undef near +#endif + /* * Include file headers */ @@ -32,7 +39,7 @@ * This flag lets the compiler know that we are using shaders */ - #define SHADERS + #define SHADERSere /* * Create a basic 2-point structure for coordinate saving |