]> git.saurik.com Git - wxWidgets.git/commitdiff
sockets require stopwatch
authorRyan Norton <wxprojects@comcast.net>
Thu, 17 Feb 2005 10:53:37 +0000 (10:53 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 17 Feb 2005 10:53:37 +0000 (10:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h

index fbccbd0be4e8199e6d7d580781c3d603b37c88dc..f3d93c112712b0a0aee377b5114a3f874adcce22 100644 (file)
 #   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 */