]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix for Watcom (on OS/2).
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 18 Nov 2007 13:40:43 +0000 (13:40 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 18 Nov 2007 13:40:43 +0000 (13:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/os2/setup0.h
include/wx/private/selectdispatcher.h

index f54f986b5c278db77f19ba774ee4dd3eec305038..5ac1e51f0d94d2290190814682a729a91793039f 100644 (file)
 
 /* --- end common options --- */
 
+/*
+ * Unix-specific options
+ */
+#define wxUSE_SELECT_DISPATCHER 1
+#define wxUSE_EPOLL_DISPATCHER 0
+
+#define wxUSE_UNICODE_UTF8 0
+#define wxUSE_UTF8_LOCALE_ONLY 0
+
 #endif // _WX_SETUP_H_
index eea139f37c6b2fa5506f1249211ff0981dfc1f16..9d75cdd77f2807ca6059d84f45dc7d2e03348263 100644 (file)
 
 #if wxUSE_SELECT_DISPATCHER
 
-#include <sys/types.h>
+#ifdef __WATCOMC__
+  #include <types.h>
+  #include <sys/ioctl.h>
+  #include <sys/select.h>
+#else
+  #include <sys/types.h>
+#endif
 
 #include "wx/private/fdiodispatcher.h"