]> granicus.if.org Git - php/commitdiff
fix compiler version check
authorAnatol Belski <ab@php.net>
Mon, 18 Jan 2016 17:08:49 +0000 (18:08 +0100)
committerAnatol Belski <ab@php.net>
Mon, 18 Jan 2016 17:32:17 +0000 (18:32 +0100)
win32/build/confutils.js

index a9b2e9c250300f55effd88962d2ba8c998bab4a8..d25eacad7b970144a830d092b33598aaa0822956 100644 (file)
@@ -2644,6 +2644,8 @@ function toolset_setup_common_cflags()
                } else {
                        if (VCVERS >= 1900) {
                                ADD_FLAG('CFLAGS', "/guard:cf");
+                       }
+                       if (VCVERS >= 1800) {
                                if (PHP_PGI != "yes" && PHP_PGO != "yes") {
                                        ADD_FLAG('CFLAGS', "/Zc:inline");
                                }