Reverted ENABLE_X11 patch - FIXME, this needs a better solution in the future.
authorSam Lantinga <slouken@lokigames.com>
Tue, 22 May 2001 05:05:16 +0000
changeset 32 13ae3bc6e39a
parent 31 667aa8b373a4
child 33 81a7158fa836
Reverted ENABLE_X11 patch - FIXME, this needs a better solution in the future.
include/SDL_syswm.h
--- a/include/SDL_syswm.h	Fri May 11 18:44:57 2001 +0000
+++ b/include/SDL_syswm.h	Tue May 22 05:05:16 2001 +0000
@@ -50,7 +50,7 @@
 
 /* This is the structure for custom window manager events */
 #if (defined(unix) || defined(__unix__) || defined(_AIX)) && \
-    (defined(ENABLE_X11) && !defined(__CYGWIN32__))
+    (!defined(DISABLE_X11) && !defined(__CYGWIN32__))
  /* AIX is unix, of course, but the native compiler CSet doesn't define unix */
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>