include/SDL_syswm.h
changeset 870 95f22f17e44a
parent 769 b8d311d90021
child 911 04a403e4ccf5
--- a/include/SDL_syswm.h	Thu Mar 04 05:39:17 2004 +0000
+++ b/include/SDL_syswm.h	Thu Mar 04 05:41:57 2004 +0000
@@ -50,7 +50,8 @@
 
 /* This is the structure for custom window manager events */
 #if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
-    (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX))
+    (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX) && \
+     !defined(__QNXNTO__))
  /* AIX is unix, of course, but the native compiler CSet doesn't define unix */
 #include <X11/Xlib.h>
 #include <X11/Xatom.h>
@@ -147,6 +148,22 @@
 	int window;			/* The RISCOS display window */
 } SDL_SysWMinfo;
 
+#elif defined(__QNXNTO__)
+#include <sys/neutrino.h>
+#include <Ph.h>
+
+/* The QNX custom event structure */
+struct SDL_SysWMmsg {
+	SDL_version version;
+	int data;
+};
+
+/* The QNX custom window manager information structure */
+typedef struct {
+	SDL_version version;
+	int data;
+} SDL_SysWMinfo;
+
 #else
 
 /* The generic custom event structure */