diff options
author | Vinson Lee <[email protected]> | 2010-09-21 15:17:52 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-09-21 15:17:52 -0700 |
commit | 3642ca2f66efa8e078062f566b8f9975928d9f44 (patch) | |
tree | c96affa0da579e65c1e4fa49879bcb18fdd5a861 /src/glut | |
parent | 13cd131b0f713c468c3cf3b12f6439288d5a3161 (diff) |
glut: Define eventParser for non-Windows only.
Fixes this GCC warning on MinGW build.
glut_input.c:295: warning: 'eventParser' defined but not used
Diffstat (limited to 'src/glut')
-rw-r--r-- | src/glut/glx/glut_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/glut_input.c b/src/glut/glx/glut_input.c index 7d2eda00f71..53f9dc5e0f8 100644 --- a/src/glut/glx/glut_input.c +++ b/src/glut/glx/glut_input.c @@ -292,10 +292,10 @@ __glutProcessDeviceEvents(XEvent * event) return 0; } +#if !defined(_WIN32) static GLUTeventParser eventParser = {__glutProcessDeviceEvents, NULL}; -#if !defined(_WIN32) static void addDeviceEventParser(void) { |