summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornelson%bolyard.com <devnull@localhost>2009-04-01 00:49:48 +0000
committernelson%bolyard.com <devnull@localhost>2009-04-01 00:49:48 +0000
commit130da2a8212388f0bdfc9fd9f263697e9bdd21d1 (patch)
tree31640d0096eac87dee12859a70880cec72dacd92
parenta2b2ea09804534f4bada5a9448ed0ee45b4e2853 (diff)
downloadnss-hg-130da2a8212388f0bdfc9fd9f263697e9bdd21d1.tar.gz
Bug 478563: Add _MSC_VER (the cl version) to coreconf. r=julien.pierre
-rw-r--r--security/coreconf/WIN32.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/coreconf/WIN32.mk b/security/coreconf/WIN32.mk
index 7b2deeed8..ac1a4d278 100644
--- a/security/coreconf/WIN32.mk
+++ b/security/coreconf/WIN32.mk
@@ -163,10 +163,12 @@ endif
# Purify requires /FIXED:NO when linking EXEs.
LDFLAGS += /FIXED:NO
endif
+ifneq ($(_MSC_VER),$(_MSC_VER_6))
# Convert certain deadly warnings to errors (see list at end of file)
OS_CFLAGS += -we4002 -we4003 -we4004 -we4006 -we4009 -we4013 \
-we4015 -we4028 -we4033 -we4035 -we4045 -we4047 -we4053 -we4054 -we4063 \
-we4064 -we4078 -we4087 -we4098 -we4390 -we4551 -we4553 -we4715
+endif # !MSVC6
endif # NS_USE_GCC
ifdef USE_64