changeset 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 7b031c55aebc
children 699d68ef2aca
files src/video/x11/SDL_x11mouse.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;
                     }