Skip to content

Commit

Permalink
More correct options for WInXP support
Browse files Browse the repository at this point in the history
  • Loading branch information
gildor2 committed Jun 24, 2019
1 parent 58195ed commit dd2b4d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/zlibdll.project
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ DLLDIR = $R/build/binaries/$PLATFORM-$CONV
!if "$COMPILER" eq "VisualC"
# CPP_EXCEPT = 0
OPTIONS = -GS- -GR- #?? VC8+
DEFINES += _USING_V110_SDK71_ # avoid some warnings, perhaps affects something else
# see http://tedwvc.wordpress.com/2014/01/01/how-to-target-xp-with-vc2012-or-vc2013-and-continue-to-use-the-windows-8-x-sdk/
# it looks like VS2013 requires _USING_V120_SDK71_
WINXP = 1
!if "$OLDCRT" eq "1"
DEFINES += OLDCRT vsnprintf=_vsnprintf # define vsnprintf to use underscore version of the function because non-underscore is unavailable in msvcrt
WDKCRT = $R/../Libs/msvcrt
Expand Down

0 comments on commit dd2b4d1

Please sign in to comment.