summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-06 20:54:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-06 20:54:11 (GMT)
commitcf0ad1235d050413c793244779a813c31593558c (patch)
tree2993a944eaa876517b14f0f86329bdcedd70d09e /win/tclWinPort.h
parentb867c999b508ec213d2be6cf5b8b88dfb595174d (diff)
parentc5f728a5afb7fb8b7ef05a0f830327c7a67b830b (diff)
downloadtcl-cf0ad1235d050413c793244779a813c31593558c.zip
tcl-cf0ad1235d050413c793244779a813c31593558c.tar.gz
tcl-cf0ad1235d050413c793244779a813c31593558c.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 d94bfda..c29e175 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
+
/*
* We must specify the lower version we intend to support.
*