From: Ryan Norton Date: Thu, 17 Feb 2005 10:53:37 +0000 (+0000) Subject: sockets require stopwatch X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4669dcb2163d2df6dc7187d813c481556402660b sockets require stopwatch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 */