summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-21 09:15:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-21 09:15:34 (GMT)
commit46c577d5c882b4ad5ca458e7591b3391327194d9 (patch)
treec5b2095c85ee13dcf2bc242552281d7d83c49f96 /win/rules.vc
parentf4881ad277e61ae34673ee464a4d43ac5da32ab3 (diff)
downloadtcl-46c577d5c882b4ad5ca458e7591b3391327194d9.zip
tcl-46c577d5c882b4ad5ca458e7591b3391327194d9.tar.gz
tcl-46c577d5c882b4ad5ca458e7591b3391327194d9.tar.bz2
Make it more likely that compiled 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 78a167a..aa4ed1e 100644
--- a/win/rules.vc
+++ b/win/rules.vc
@@ -159,7 +159,7 @@ DEBUGFLAGS = $(DEBUGFLAGS) -RTC1
DEBUGFLAGS = $(DEBUGFLAGS) -GZ
!endif
-COMPILERFLAGS =-W3
+COMPILERFLAGS =-W3 /D_ATL_XP_TARGETING
# In v13 -GL and -YX are incompatible.
!if [nmakehlp -c -YX]