]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/chkconf.h
set eol-style
[wxWidgets.git] / include / wx / dfb / chkconf.h
index 860ea06cee67330bc7c3b168a4bfc74cf83bc861..cbc9e7f331e3c03e7ef8e72386e3feb56927b6f1 100644 (file)
 #   error "wxDirectFB cannot be built without wxUniversal"
 #endif
 
 #   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_ */
 #endif /* _WX_DFB_CHKCONF_H_ */