diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2007-12-14 02:19:42 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2007-12-14 02:19:42 (GMT) |
commit | 1e2cc34c8fe57acaaf8376477933f36338c316c2 (patch) | |
tree | 6079e75cbcc6a15de42e7ea8f71c120521d01ab7 /win/makefile.vc | |
parent | 7fd2d51229f0e0f817966bb438485c2a2067b52a (diff) | |
download | tk-1e2cc34c8fe57acaaf8376477933f36338c316c2.zip tk-1e2cc34c8fe57acaaf8376477933f36338c316c2.tar.gz tk-1e2cc34c8fe57acaaf8376477933f36338c316c2.tar.bz2 |
Support compilation with MSVC9 on AMD64
Diffstat (limited to 'win/makefile.vc')
-rw-r--r-- | win/makefile.vc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index 9cec5ff..70d0b6d 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -12,7 +12,7 @@ # Copyright (c) 2001-2004 David Gravereaux. # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: makefile.vc,v 1.115 2007/12/13 15:28:52 dgp Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.116 2007/12/14 02:19:42 patthoyts Exp $ #------------------------------------------------------------------------------ # Check to see we are configured to build with MSVC (MSDEVDIR or MSVCDIR) @@ -505,8 +505,10 @@ baselibs = kernel32.lib user32.lib # Avoid 'unresolved external symbol __security_cookie' errors. # c.f. http://support.microsoft.com/?id=894573 !if "$(MACHINE)" == "IA64" || "$(MACHINE)" == "AMD64" +!if $(VCVERSION) > 1399 && $(VCVERSION) < 1500 baselibs = $(baselibs) bufferoverflowU.lib !endif +!endif guilibs = $(baselibs) gdi32.lib |