X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d7ae4a62645d369fbd6b8b5f3f0e12ee86536da1..be8b43858c480325553a66a43c9fcd92d036b885:/include/wx/dfb/chkconf.h?ds=sidebyside diff --git a/include/wx/dfb/chkconf.h b/include/wx/dfb/chkconf.h index 290fb62220..cbc9e7f331 100644 --- a/include/wx/dfb/chkconf.h +++ b/include/wx/dfb/chkconf.h @@ -21,4 +21,13 @@ # error "wxFileConfig is required by wxDFB port" #endif +#if wxUSE_SOCKETS && !wxUSE_SELECT_DISPATCHER +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxSocket requires wxSelectDispatcher in wxDFB" +# else +# undef wxUSE_SELECT_DISPATCHER +# define wxUSE_SELECT_DISPATCHER 1 +# endif +#endif + #endif /* _WX_DFB_CHKCONF_H_ */