summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-06 20:50:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-06 20:50:15 (GMT)
commit39425c5c195c610b638b77721b10d5f39f88aff7 (patch)
tree9e9a5e64f8723e3edbc87a2fa10f70e742809f87 /win/tclWinPort.h
parent7fcf2ad8c22a17ffdf610b51018bb6566ae4d0a6 (diff)
downloadtcl-39425c5c195c610b638b77721b10d5f39f88aff7.zip
tcl-39425c5c195c610b638b77721b10d5f39f88aff7.tar.gz
tcl-39425c5c195c610b638b77721b10d5f39f88aff7.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 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