On Windows, if we're running anything but plain Visual C++ 6 (including
[obnox/wireshark/wip.git] / config.nmake
index b2444b78a1b5c5c564d8caffb36dd312ea176a07..10ced072687812b391a0363e8ece37b1ac22cdcb 100644 (file)
@@ -843,3 +843,10 @@ PATH=$(PATH);$(CYGWIN_PATH);$(GLIB_DIR)\bin;$(GETTEXT_DIR)\bin;$(ICONV_DIR)\bin;
 !ELSE
 PATH=$(PATH);$(CYGWIN_PATH);$(GLIB_DIR)\bin;$(GETTEXT_DIR)\bin;$(ZLIB_PATH);$(ADNS_PATH)
 !ENDIF
+
+# We can't use a lot of IPv6 code with plain Visual C++ 6.0
+!IF "$(MSVC_VARIANT)" == "MSVC6" && !DEFINED(MSSDK)
+INET6_CONFIG=
+!ELSE
+INET6_CONFIG=^#define INET6 1
+!ENDIF