summaryrefslogtreecommitdiffstats
path: root/src/Make_mvc.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-09 02:32:18 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-09 02:32:18 +0100
commit815135e4082dce22a264cc1f176187221d5313cf (patch)
tree3d36ec9dbd88abc8a87ebe295c6c5df6f3092ad3 /src/Make_mvc.mak
parent817a8801d7d0edb0c2776c22ef0dd5ac2b2d73c8 (diff)
updated for version 7.4.081v7.4.081
Problem: Wrong logic when ANALYZE is "yes". Solution: Use or instead of and. (KF Leong)
Diffstat (limited to 'src/Make_mvc.mak')
-rw-r--r--src/Make_mvc.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Make_mvc.mak b/src/Make_mvc.mak
index 9ae64db79e..5a07cd095d 100644
--- a/src/Make_mvc.mak
+++ b/src/Make_mvc.mak
@@ -488,7 +488,7 @@ CFLAGS=$(CFLAGS) $(WP64CHECK)
!endif
# Static code analysis generally available starting with VS2012
-!if ("$(ANALYZE)" == "yes") && ("$(MSVCVER)" == "11.0") && ("$(MSVCVER)" == "12.0")
+!if ("$(ANALYZE)" == "yes") && (("$(MSVCVER)" == "10.0") || ("$(MSVCVER)" == "11.0") || ("$(MSVCVER)" == "12.0"))
CFLAGS=$(CFLAGS) /analyze
!endif