Reverted ENABLE_X11 patch - FIXME, this needs a better solution in the future.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4033
This commit is contained in:
Sam Lantinga 2001-05-22 05:05:16 +00:00
parent 961e147309
commit 2358ce3d03

View File

@ -50,7 +50,7 @@ typedef struct SDL_SysWMinfo SDL_SysWMinfo;
/* 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>