diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-06 20:50:15 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-06 20:50:15 (GMT) |
commit | d557e67a18def3c844fb7438203ebc2d0f65f753 (patch) | |
tree | 9e9a5e64f8723e3edbc87a2fa10f70e742809f87 | |
parent | 63091b714288c8fc0ad80f2559c6b0c11ae76df3 (diff) | |
download | tcl-d557e67a18def3c844fb7438203ebc2d0f65f753.zip tcl-d557e67a18def3c844fb7438203ebc2d0f65f753.tar.gz tcl-d557e67a18def3c844fb7438203ebc2d0f65f753.tar.bz2 |
Compatibility with older Visual Studio versions
-rw-r--r-- | win/tclWinPort.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 2eb261d..06d7dc6 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -18,6 +18,12 @@ # include "tclInt.h" #endif +/* Compatibility to older visual studio / windows platform SDK */ +#if !defined(MAXULONG_PTR) +typedef DWORD DWORD_PTR; +typedef DWORD_PTR * PDWORD_PTR; +#endif + #ifdef CHECK_UNICODE_CALLS # define _UNICODE # define UNICODE |