From: Stefan Neis Date: Sun, 18 Nov 2007 13:40:43 +0000 (+0000) Subject: Compilation fix for Watcom (on OS/2). X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ddfed775abd6ccdb00ec9785bd051a658e630d7e Compilation fix for Watcom (on OS/2). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/os2/setup0.h b/include/wx/os2/setup0.h index f54f986b5c..5ac1e51f0d 100644 --- a/include/wx/os2/setup0.h +++ b/include/wx/os2/setup0.h @@ -1221,4 +1221,13 @@ /* --- 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_ diff --git a/include/wx/private/selectdispatcher.h b/include/wx/private/selectdispatcher.h index eea139f37c..9d75cdd77f 100644 --- a/include/wx/private/selectdispatcher.h +++ b/include/wx/private/selectdispatcher.h @@ -15,7 +15,13 @@ #if wxUSE_SELECT_DISPATCHER -#include +#ifdef __WATCOMC__ + #include + #include + #include +#else + #include +#endif #include "wx/private/fdiodispatcher.h"