]> git.saurik.com Git - wxWidgets.git/commitdiff
define wxUSE_IPV6 as 0 to avoid -Wundef warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2005 00:28:58 +0000 (00:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2005 00:28:58 +0000 (00:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/sckaddr.h

index ab42623cda6bb980d271f0e1e9f16f2a270053c4..efaeedb9be791d308861fbfddaa1defbe0ad10fd 100644 (file)
@@ -114,6 +114,12 @@ private:
   wxString m_origHostname;
 };
 
+
+// the IPv6 code probably doesn't work, untested -- set to 1 at your own risk
+#ifndef wxUSE_IPV6
+    #define wxUSE_IPV6 0
+#endif
+
 #if wxUSE_IPV6
 
 // Experimental Only: