diff options
author | patthoyts <patthoyts@noemail.net> | 2007-12-14 02:27:06 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@noemail.net> | 2007-12-14 02:27:06 (GMT) |
commit | 382e69e531d57b0a4db0fbd44f44ca1aef303ea9 (patch) | |
tree | 58d0c5340cf466e2bcdec8294ecd5b232455623d /win/nmakehlp.c | |
parent | b199df525982f3f986e08cb58964bb0b6105b8b9 (diff) | |
download | tcl-382e69e531d57b0a4db0fbd44f44ca1aef303ea9.zip tcl-382e69e531d57b0a4db0fbd44f44ca1aef303ea9.tar.gz tcl-382e69e531d57b0a4db0fbd44f44ca1aef303ea9.tar.bz2 |
Support compilation with MSVC9 on AMD64
FossilOrigin-Name: b5499dbd7507837df8929344f034f4117e0f44dd
Diffstat (limited to 'win/nmakehlp.c')
-rw-r--r-- | win/nmakehlp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/win/nmakehlp.c b/win/nmakehlp.c index 3b04998..21dc36b 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.20 2007/12/13 15:28:43 dgp Exp $ + * RCS: @(#) $Id: nmakehlp.c,v 1.21 2007/12/14 02:27:11 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 |