include/SDL_syswm.h
changeset 870 95f22f17e44a
parent 769 b8d311d90021
child 911 04a403e4ccf5
     1.1 --- a/include/SDL_syswm.h	Thu Mar 04 05:39:17 2004 +0000
     1.2 +++ b/include/SDL_syswm.h	Thu Mar 04 05:41:57 2004 +0000
     1.3 @@ -50,7 +50,8 @@
     1.4  
     1.5  /* This is the structure for custom window manager events */
     1.6  #if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
     1.7 -    (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX))
     1.8 +    (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX) && \
     1.9 +     !defined(__QNXNTO__))
    1.10   /* AIX is unix, of course, but the native compiler CSet doesn't define unix */
    1.11  #include <X11/Xlib.h>
    1.12  #include <X11/Xatom.h>
    1.13 @@ -147,6 +148,22 @@
    1.14  	int window;			/* The RISCOS display window */
    1.15  } SDL_SysWMinfo;
    1.16  
    1.17 +#elif defined(__QNXNTO__)
    1.18 +#include <sys/neutrino.h>
    1.19 +#include <Ph.h>
    1.20 +
    1.21 +/* The QNX custom event structure */
    1.22 +struct SDL_SysWMmsg {
    1.23 +	SDL_version version;
    1.24 +	int data;
    1.25 +};
    1.26 +
    1.27 +/* The QNX custom window manager information structure */
    1.28 +typedef struct {
    1.29 +	SDL_version version;
    1.30 +	int data;
    1.31 +} SDL_SysWMinfo;
    1.32 +
    1.33  #else
    1.34  
    1.35  /* The generic custom event structure */