goat3d
diff goatview/src/opengl.h @ 89:c1871707c678
fixed the windows build
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 16 May 2014 05:23:10 +0300 |
parents | 70b7c41a4f17 |
children | 07c0ec4a410d |
line diff
1.1 --- a/goatview/src/opengl.h Thu May 15 06:52:01 2014 +0300 1.2 +++ b/goatview/src/opengl.h Fri May 16 05:23:10 2014 +0300 1.3 @@ -5,7 +5,9 @@ 1.4 #define QT_NO_OPENGL_ES_2 1.5 1.6 #ifdef WIN32 1.7 +#define WIN32_LEAN_AND_MEAN 1 1.8 #include <windows.h> 1.9 +#undef min 1.10 #endif 1.11 1.12 #ifdef __APPLE__