diff options
Diffstat (limited to 'win/tclWinPort.h')
-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 d94bfda..e5dac8c 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -36,6 +36,12 @@ #include <windows.h> #undef WIN32_LEAN_AND_MEAN +/* Compatibility to older visual studio / windows platform SDK */ +#if !defined(MAXULONG_PTR) +typedef DWORD DWORD_PTR; +typedef DWORD_PTR * PDWORD_PTR; +#endif + /* * Ask for the winsock function typedefs, also. */ |