summaryrefslogtreecommitdiff
path: root/Makefile.nmake
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2007-01-31 02:23:06 +0000
committerUlf Lamping <ulf.lamping@web.de>2007-01-31 02:23:06 +0000
commit5698c994ca78ec69d6a66bc2183994d6952dd3b8 (patch)
tree04289b1bbdfd4b07cccfe3a7495b1e61025e7546 /Makefile.nmake
parente166f9c4e6a41db1d2138b7908134107cb8ba726 (diff)
downloadwireshark-5698c994ca78ec69d6a66bc2183994d6952dd3b8.tar.gz
C preprocessor only handles integers for conditional compilation. Build MSC_VER_REQUIRED in config.nmake and compare it with _MSC_VER in config.h.win32
svn path=/trunk/; revision=20637
Diffstat (limited to 'Makefile.nmake')
-rw-r--r--Makefile.nmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.nmake b/Makefile.nmake
index 16a974c69b..e31a05a8e9 100644
--- a/Makefile.nmake
+++ b/Makefile.nmake
@@ -17,7 +17,7 @@ CFLAGS=-DHAVE_CONFIG_H $(LOCAL_CFLAGS) $(GLIB_CFLAGS) /I. /Iwiretap \
$(ZLIB_CFLAGS) /I$(PCAP_DIR)\include \
$(NET_SNMP_CFLAGS) \
$(ADNS_CFLAGS) $(PCRE_CFLAGS) $(GNUTLS_CFLAGS) $(LUA_CFLAGS) \
- -D_U_="" -D_NEED_VAR_IMPORT_
+ -D_U_="" -D_NEED_VAR_IMPORT_ -DMSC_VER_REQUIRED=$(MSC_VER_REQUIRED)
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL