define this value if it's not in the system headers
authorSam Lantinga <slouken@libsdl.org>
Mon, 05 Jan 2009 06:35:16 +0000
changeset 3002 0deb3e94c251
parent 3001 7b031c55aebc
child 3003 699d68ef2aca
define this value if it's not in the system headers
src/video/x11/SDL_x11mouse.c
--- 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;
                     }