diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-21 12:40:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-21 12:40:22 (GMT) |
commit | 713d51c8519164eee84302b30e4f36706e2e1952 (patch) | |
tree | 6c8a2a0cf40652c4468ae18a1fb949d2ac69db3d /win/rules.vc | |
parent | 4468bc4cb1e0e653f7602d9333640b5f6a9fbcf0 (diff) | |
download | tk-713d51c8519164eee84302b30e4f36706e2e1952.zip tk-713d51c8519164eee84302b30e4f36706e2e1952.tar.gz tk-713d51c8519164eee84302b30e4f36706e2e1952.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.vc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rules.vc b/win/rules.vc index a43fac6..e38fd1a 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]
|