diff options
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 1acf980..669fceb 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -10,12 +10,25 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinPort.h,v 1.60 2010/09/09 14:30:20 nijtmans Exp $ + * RCS: @(#) $Id: tclWinPort.h,v 1.61 2010/09/14 08:53:49 nijtmans Exp $ */ #ifndef _TCLWINPORT #define _TCLWINPORT +/* + * We must specify the lower version we intend to support. + * + * WINVER = 0x0500 means Windows 2000 and above + */ + +#ifndef WINVER +# define WINVER 0x0500 +#endif +#ifndef _WIN32_WINNT +# define _WIN32_WINNT 0x0500 +#endif + #define WIN32_LEAN_AND_MEAN #include <windows.h> #undef WIN32_LEAN_AND_MEAN |