aboutsummaryrefslogtreecommitdiffstats
path: root/config.nmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-04-03 12:21:40 -0700
committerGerald Combs <gerald@wireshark.org>2015-04-03 19:31:01 +0000
commita655c9a7f0c648b70e8b8213cfd5487b29ec69e0 (patch)
treeebcac9edae0e04d6abaf540a4bddf704f202c606 /config.nmake
parent8c31988c5f9e6007d79441311f49e9e28816cd8d (diff)
Nmake preprocessor string comparisons are case-sensitive.
In related news, VC/bin/amd64/vcvars64.bat calls "set Platform=X64" while VC/bin/x86_amd64/vcvarsx86_amd64.bat calls "set Platform=x64". Change-Id: I4bc97eee6170c11e43ed2b46b7599f5021843d6a Reviewed-on: https://code.wireshark.org/review/7893 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'config.nmake')
-rw-r--r--config.nmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.nmake b/config.nmake
index 6f95af7b01..60dc340651 100644
--- a/config.nmake
+++ b/config.nmake
@@ -14,9 +14,9 @@ PROGRAM_NAME=Wireshark
##### Target platform #####
# Pick up the value from the environment, VS2012 onwards sets PLATFORM via
-# vcvarsall.bat (it appears for X64 only).
+# vcvarsall.bat (it appears for X64 only).
# For VS2010 and earlier you'll have to set the value yourself
-!IF "$(PLATFORM)" == "X64"
+!IF "$(PLATFORM)" == "x64" || "$(PLATFORM)" == "X64"
WIRESHARK_TARGET_PLATFORM=win64
!ENDIF