diff options
Diffstat (limited to 'src/system-gl.h')
-rw-r--r-- | src/system-gl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/system-gl.h b/src/system-gl.h index 4a8ccac..dd465f6 100644 --- a/src/system-gl.h +++ b/src/system-gl.h @@ -1,6 +1,12 @@ #ifndef SYSTEMGL_H_ #define SYSTEMGL_H_ +#ifdef _WIN32 +// Prevent obtuse compile errors on Win32/mingw32. This is related +// GLU Tessellation callback definitions, and how glew deals with them. +#include <windows.h> +#endif + #include <GL/glew.h> #include <string> |