summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2013-06-02 20:20:18 +0600
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2013-06-02 20:20:18 +0600
commit3645242ba84bad9f8cdfe4a075e6ac3dafebe0fa (patch)
tree8181d9e6efafa283406f4a9114e647425d1c4248 /include
parentde0c5b4bb552c6ed9a681cf8eb04650eb91e4635 (diff)
Fix compilation with libX11 >= 1.5.99.902.
These changes fixes bug #1769 for SDL2 (http://bugzilla.libsdl.org/show_bug.cgi?id=1769).
Diffstat (limited to 'include')
-rw-r--r--include/SDL_config.h.cmake1
-rw-r--r--include/SDL_config.h.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/SDL_config.h.cmake b/include/SDL_config.h.cmake
index c3b9bc708b..c212bae9e9 100644
--- a/include/SDL_config.h.cmake
+++ b/include/SDL_config.h.cmake
@@ -266,6 +266,7 @@
#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
#cmakedefine SDL_VIDEO_DRIVER_X11_XVIDMODE @SDL_VIDEO_DRIVER_X11_XVIDMODE@
#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
+#cmakedefine SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32 @SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32@
#cmakedefine SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY @SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY@
#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@
diff --git a/include/SDL_config.h.in b/include/SDL_config.h.in
index bd2be4b2f7..b9ba3ffd4e 100644
--- a/include/SDL_config.h.in
+++ b/include/SDL_config.h.in
@@ -268,6 +268,7 @@
#undef SDL_VIDEO_DRIVER_X11_XSHAPE
#undef SDL_VIDEO_DRIVER_X11_XVIDMODE
#undef SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
+#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32
#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY
#undef SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM