X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b8af111fa5d3916e6f42fee3af0ab1bec0ace7b6..a9e8bf2dd9bccb38eb39fba955125aaf23d6f500:/include/wx/mgl/chkconf.h diff --git a/include/wx/mgl/chkconf.h b/include/wx/mgl/chkconf.h index c8664d4b73..b20fb61cae 100644 --- a/include/wx/mgl/chkconf.h +++ b/include/wx/mgl/chkconf.h @@ -14,6 +14,14 @@ #ifndef _WX_MGL_CHKCONF_H_ #define _WX_MGL_CHKCONF_H_ +/* + wxDisplay is not implemented for OS/2, use stub common version instead. + */ +#if wxUSE_DISPLAY +# undef wxUSE_DISPLAY +# define wxUSE_DISPLAY 0 +#endif /* wxUSE_DISPLAY */ + #ifdef __WATCOMC__ /* Watcom builds for MGL port are setup.h driven and setup.h is @@ -61,6 +69,11 @@ # define wxUSE_SOCKETS 0 #endif /* wxUSE_SOCKETS */ +#if wxUSE_THREADS +# undef wxUSE_THREADS +# define wxUSE_THREADS 0 +#endif /* wxUSE_SOCKETS */ + #if wxUSE_PROTOCOL # undef wxUSE_PROTOCOL # define wxUSE_PROTOCOL 0