Try to fix a compilation error with Visual C++ 6.0.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 30 Dec 2008 18:27:34 +0000 (18:27 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 30 Dec 2008 18:27:34 +0000 (18:27 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27135 f5534014-38df-0310-8fa8-9805f1628bb7

config.nmake

index d64a7faa2521be40157206cdf0fc4ea49f8c4384..79db80567752631c0a2c0454116fccabdff67576 100644 (file)
@@ -330,8 +330,13 @@ SMI_DIR=$(WIRESHARK_LIBS)\libsmi-0.4.8
 #
 # Used to map IP addresses to MaxMind GeoIP database entries
 #
+# GeoIP requires IPv6 definitions that don't ship with Visual C++ 6.0. If
+# you're using MSVC6 and you REALLY want to compile with GeoIP, install the
+# Platform SDK for Windows Server 2003 R2 and comment out the !IF/!ENDIF
+# lines below.
+!IF "$(MSVC_VARIANT)" != "MSVC6"
 GEOIP_DIR=$(WIRESHARK_LIBS)\GeoIP-1.4.5ws
-
+!ENDIF
 
 ##### Tools #####