Skip to content

Commit

Permalink
buildsys,mvc: Support packcc also on VC2013
Browse files Browse the repository at this point in the history
`SIZE_T_FMT_CHAR` should be defined to "I", because VC2013 doesn't
support "z" flag for printf. Use "I" instead.
  • Loading branch information
k-takata committed Jul 19, 2019
1 parent adc1069 commit 206c43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk_mvc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
include source.mak

OBJEXT = obj
DEFINES = -DWIN32 -DHAVE_REGCOMP -D__USE_GNU -Dstrcasecmp=stricmp -DHAVE_PACKCC -DHAVE_REPOINFO_H
DEFINES = -DWIN32 -DHAVE_REGCOMP -D__USE_GNU -Dstrcasecmp=stricmp -DHAVE_PACKCC -DHAVE_REPOINFO_H -DSIZE_T_FMT_CHAR=\"I\"
REGEX_DEFINES = -Dbool=int -Dfalse=0 -Dtrue=1 $(DEFINES)
INCLUDES = -I. -Imain -Ignu_regex -Ifnmatch -Iparsers
OPT = /O2 /WX
Expand Down

0 comments on commit 206c43f

Please sign in to comment.