X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60bea0cfb5861737b367ca483295ea4ad3c1d8ed..3e15dde39639521641eef1508c2de56ebd5ac319:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index fbccbd0be4..f3d93c1127 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -1645,5 +1645,14 @@ # endif #endif /* wxUSE_XRC */ +#if wxUSE_SOCKETS && !wxUSE_STOPWATCH +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_SOCKETS requires wxUSE_STOPWATCH" +# else +# undef wxUSE_SOCKETS +# define wxUSE_SOCKETS 0 +# endif +#endif /* wxUSE_SOCKETS */ + #endif /* wxUSE_GUI */