diff src/video/x11/SDL_x11mouse.c @ 3002:0deb3e94c251

define this value if it's not in the system headers
author Sam Lantinga <slouken@libsdl.org>
date Mon, 05 Jan 2009 06:35:16 +0000
parents dbff5769d742
children 08747e24a50f
line wrap: on
line diff
--- a/src/video/x11/SDL_x11mouse.c	Mon Jan 05 06:28:50 2009 +0000
+++ b/src/video/x11/SDL_x11mouse.c	Mon Jan 05 06:35:16 2009 +0000
@@ -122,6 +122,9 @@
                     } else {
                         SDL_AddMouse(&mouse, DevList[i].name, 0, 0, 1);
                     }
+#ifndef IsXExtensionPointer
+#define IsXExtensionPointer 4
+#endif
                     if (DevList[i].use == IsXExtensionPointer) {
                         ++num_mice;
                     }