summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-21 09:20:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-21 09:20:54 (GMT)
commit3adfe07f74e75d5e64032044c4a5bfa611777e44 (patch)
treeea95523b9a7a3e14334066aac23dffa90dda6617 /win/rules.vc
parent3d6c6683bb7aba25db445672e8386f3082a0bdda (diff)
parent7aae664d124c3fcf3bb94bda9b33933878da54e2 (diff)
downloadtcl-3adfe07f74e75d5e64032044c4a5bfa611777e44.zip
tcl-3adfe07f74e75d5e64032044c4a5bfa611777e44.tar.gz
tcl-3adfe07f74e75d5e64032044c4a5bfa611777e44.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 d4c2f35..30e8c2f 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]