From d557e67a18def3c844fb7438203ebc2d0f65f753 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 6 Mar 2012 20:50:15 +0000 Subject: Compatibility with older Visual Studio versions --- win/tclWinPort.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v0.12