X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c861501a451503b31c075ccb59d16b0ae01e99..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/dfb/chkconf.h diff --git a/include/wx/dfb/chkconf.h b/include/wx/dfb/chkconf.h index 860ea06cee..cbc9e7f331 100644 --- a/include/wx/dfb/chkconf.h +++ b/include/wx/dfb/chkconf.h @@ -17,4 +17,17 @@ # error "wxDirectFB cannot be built without wxUniversal" #endif +#if !wxUSE_CONFIG +# 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_ */