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 30020deb3e94c251
parent 3001 7b031c55aebc
child 3003 699d68ef2aca
define this value if it's not in the system headers
src/video/x11/SDL_x11mouse.c
     1.1 --- a/src/video/x11/SDL_x11mouse.c	Mon Jan 05 06:28:50 2009 +0000
     1.2 +++ b/src/video/x11/SDL_x11mouse.c	Mon Jan 05 06:35:16 2009 +0000
     1.3 @@ -122,6 +122,9 @@
     1.4                      } else {
     1.5                          SDL_AddMouse(&mouse, DevList[i].name, 0, 0, 1);
     1.6                      }
     1.7 +#ifndef IsXExtensionPointer
     1.8 +#define IsXExtensionPointer 4
     1.9 +#endif
    1.10                      if (DevList[i].use == IsXExtensionPointer) {
    1.11                          ++num_mice;
    1.12                      }