projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update CMake file so that it will generate proper _WIN32_WINNT and WINVER definitions...
[freeglut]
/
src
/
mswin
/
fg_spaceball_mswin.c
diff --git
a/src/mswin/fg_spaceball_mswin.c
b/src/mswin/fg_spaceball_mswin.c
index
f9bad24
..
84d848d
100644
(file)
--- a/
src/mswin/fg_spaceball_mswin.c
+++ b/
src/mswin/fg_spaceball_mswin.c
@@
-36,6
+36,8
@@
* six degree of freedom navigator.
*/
+#if(_WIN32_WINNT >= 0x0501)
+
#include <GL/freeglut.h>
#include <stdlib.h>
#include "../fg_internal.h"
@@
-190,3
+192,5
@@
void fgSpaceballHandleWinEvent(HWND hwnd, WPARAM wParam, LPARAM lParam)
}
}
}
+
+#endif
\ No newline at end of file