summaryrefslogtreecommitdiffstats
path: root/win/nmakehlp.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2007-12-14 02:19:41 (GMT)
committerpatthoyts <patthoyts@noemail.net>2007-12-14 02:19:41 (GMT)
commitf34fe7d99fc180b928e19e5a191a675fa565e36d (patch)
tree6079e75cbcc6a15de42e7ea8f71c120521d01ab7 /win/nmakehlp.c
parentba6aa0c287b54f6142d31894087bf0217fb71df1 (diff)
downloadtk-f34fe7d99fc180b928e19e5a191a675fa565e36d.zip
tk-f34fe7d99fc180b928e19e5a191a675fa565e36d.tar.gz
tk-f34fe7d99fc180b928e19e5a191a675fa565e36d.tar.bz2
Support compilation with MSVC9 on AMD64
FossilOrigin-Name: f7dd6e6f850e97703e2683b37d216bb7a7fb0328
Diffstat (limited to 'win/nmakehlp.c')
-rw-r--r--win/nmakehlp.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/win/nmakehlp.c b/win/nmakehlp.c
index ff1905b..ace6d2b 100644
--- a/win/nmakehlp.c
+++ b/win/nmakehlp.c
@@ -11,7 +11,7 @@
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* ----------------------------------------------------------------------------
- * RCS: @(#) $Id: nmakehlp.c,v 1.10 2007/12/13 15:28:52 dgp Exp $
+ * RCS: @(#) $Id: nmakehlp.c,v 1.11 2007/12/14 02:19:43 patthoyts Exp $
* ----------------------------------------------------------------------------
*/
@@ -21,9 +21,15 @@
#pragma comment (lib, "kernel32.lib")
#include <stdio.h>
#include <math.h>
+
+/*
+ * This library is required for x64 builds with _some_ versions
+ */
#if defined(_M_IA64) || defined(_M_AMD64)
+#if _MSC_FULL_VER > 140000000 && _MSC_FULL_VER <= 140040310
#pragma comment(lib, "bufferoverflowU")
#endif
+#endif
/* ISO hack for dumb VC++ */
#ifdef _MSC_VER