include/SDL_syswm.h
changeset 30 57bf11a5efd7
parent 0 74212992fb08
child 32 13ae3bc6e39a
     1.1 --- a/include/SDL_syswm.h	Fri May 11 00:35:31 2001 +0000
     1.2 +++ b/include/SDL_syswm.h	Fri May 11 01:13:35 2001 +0000
     1.3 @@ -50,7 +50,7 @@
     1.4  
     1.5  /* This is the structure for custom window manager events */
     1.6  #if (defined(unix) || defined(__unix__) || defined(_AIX)) && \
     1.7 -    (!defined(DISABLE_X11) && !defined(__CYGWIN32__))
     1.8 +    (defined(ENABLE_X11) && !defined(__CYGWIN32__))
     1.9   /* AIX is unix, of course, but the native compiler CSet doesn't define unix */
    1.10  #include <X11/Xlib.h>
    1.11  #include <X11/Xatom.h>
    1.12 @@ -95,6 +95,21 @@
    1.13  	} info;
    1.14  } SDL_SysWMinfo;
    1.15  
    1.16 +#elif defined(ENABLE_NANOX)
    1.17 +#include <microwin/nano-X.h>
    1.18 +
    1.19 +/* The generic custom event structure */
    1.20 +struct SDL_SysWMmsg {
    1.21 +	SDL_version version;
    1.22 +	int data;
    1.23 +};
    1.24 +
    1.25 +/* The windows custom window manager information structure */
    1.26 +typedef struct {
    1.27 +	SDL_version version ;
    1.28 +	GR_WINDOW_ID window ;	/* The display window */
    1.29 +} SDL_SysWMinfo;
    1.30 +
    1.31  #elif defined(WIN32)
    1.32  #include <windows.h>
    1.33