summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-21 12:43:42 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-21 12:43:42 (GMT)
commit040d19faa48d2735a6677298cd8d0a7903da775f (patch)
treeb79903faa28cf6a10c6035a8bbef3413d22c8f4e /win/rules.vc
parent71040c30eb391126e584a0acccd1562f9759d375 (diff)
parentc6f38f9550c0b06da628964a298e5b290f8a1f8f (diff)
downloadtk-040d19faa48d2735a6677298cd8d0a7903da775f.zip
tk-040d19faa48d2735a6677298cd8d0a7903da775f.tar.gz
tk-040d19faa48d2735a6677298cd8d0a7903da775f.tar.bz2
Make it more likely that compiles with VS2012/VS2013 actually work on Windows XP. See: [https://tedwvc.wordpress.com/2014/01/01/how-to-target-xp-with-vc2012-or-vc2013-and-continue-to-use-the-windows-8-x-sdk/]
Diffstat (limited to 'win/rules.vc')
-rw-r--r--win/rules.vc2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 0d8cd6b..6fd079a 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -159,7 +159,7 @@ DEBUGFLAGS = $(DEBUGFLAGS) -RTC1
DEBUGFLAGS = $(DEBUGFLAGS) -GZ
!endif
-COMPILERFLAGS =-W3 -DUNICODE -D_UNICODE
+COMPILERFLAGS =-W3 /DUNICODE /D_UNICODE /D_ATL_XP_TARGETING
# In v13 -GL and -YX are incompatible.
!if [nmakehlp -c -YX]