summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-06 20:53:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-06 20:53:12 (GMT)
commit334981d2e58e7f00f9b074b89b22c8df5ae04d68 (patch)
treec4e903bd6d0a6c11496333b7b0f718ee9efbdf80 /win/tclWinPort.h
parentf0662ef7a305f951d6d48a1b84c83b362cd7ae5e (diff)
parent15fcf9ba56fbc50d32efcf77d80225232d7718b9 (diff)
downloadtcl-334981d2e58e7f00f9b074b89b22c8df5ae04d68.zip
tcl-334981d2e58e7f00f9b074b89b22c8df5ae04d68.tar.gz
tcl-334981d2e58e7f00f9b074b89b22c8df5ae04d68.tar.bz2
Compatibility with older Visual Studio versions
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h6
1 files changed, 6 insertions, 0 deletions
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