Skip to content

Commit dc1f0ab

Browse files
edammasatake
authored andcommitted
build-sys(win32): enable msvc preprocessor conformance
(cherry picked from commit ffae8537f704c6c6f9c7bd5bac2418146bf5269f)
1 parent a63485f commit dc1f0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mk_mvc.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ include source.mak
1313
COMMON_DEFINES =
1414
DEFINES = -DWIN32 $(COMMON_DEFINES) -DHAVE_REPOINFO_H -DHAVE_PACKCC -DREADTAGS_DSL
1515
INCLUDES = -I. -Ignulib -Imain -Iparsers -Ilibreadtags -Idsl
16-
OPT = /O2 /WX
16+
OPT = /O2 /WX /Zc:preprocessor
1717
PACKCC = packcc.exe
1818
GNULIB_OBJS = $(MVC_GNULIB_SRCS:.c=.obj)
1919
WIN32_OBJS = $(WIN32_SRCS:.c=.obj)

0 commit comments

Comments
 (0)