diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-06 20:54:11 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-06 20:54:11 (GMT) |
commit | ab122b015c2810b81d4b677ee1bd956d81b9f506 (patch) | |
tree | 2993a944eaa876517b14f0f86329bdcedd70d09e | |
parent | 029618acc3b53a6a162dbebe04c0f6d961c5f282 (diff) | |
parent | 334981d2e58e7f00f9b074b89b22c8df5ae04d68 (diff) | |
download | tcl-ab122b015c2810b81d4b677ee1bd956d81b9f506.zip tcl-ab122b015c2810b81d4b677ee1bd956d81b9f506.tar.gz tcl-ab122b015c2810b81d4b677ee1bd956d81b9f506.tar.bz2 |
Compatibility with older Visual Studio versions
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | win/tclWinPort.h | 6 |
2 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2012-03-06 Jan Nijtmans <nijtmans@users.sf.net> + + * win/tclWinPort.h: Compatibility with older Visual Studio versions. + 2012-03-04 Jan Nijtmans <nijtmans@users.sf.net> * generic/tclLoad.c: Patch from the cygwin folks diff --git a/win/tclWinPort.h b/win/tclWinPort.h index d94bfda..c29e175 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -19,6 +19,12 @@ # define _USE_32BIT_TIME_T #endif +/* Compatibility to older visual studio / windows platform SDK */ +#if !defined(MAXULONG_PTR) +typedef DWORD DWORD_PTR; +typedef DWORD_PTR * PDWORD_PTR; +#endif + /* * We must specify the lower version we intend to support. * |