diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-06 20:53:12 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-06 20:53:12 (GMT) |
commit | c5f728a5afb7fb8b7ef05a0f830327c7a67b830b (patch) | |
tree | c4e903bd6d0a6c11496333b7b0f718ee9efbdf80 | |
parent | f43330a9689f96e94f3dda9940819cba7eb87766 (diff) | |
parent | df77e6c53973ff85f65a0a8d960101b47a82c9d6 (diff) | |
download | tcl-c5f728a5afb7fb8b7ef05a0f830327c7a67b830b.zip tcl-c5f728a5afb7fb8b7ef05a0f830327c7a67b830b.tar.gz tcl-c5f728a5afb7fb8b7ef05a0f830327c7a67b830b.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 ee29a1a..d1b8227 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 + #define WIN32_LEAN_AND_MEAN #include <windows.h> #undef WIN32_LEAN_AND_MEAN |