summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-07 20:18:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-07 20:18:48 (GMT)
commitd5692e7ae359fe12bb7da7cb99acfd292903c29f (patch)
tree703251f465e211d01c0edd12b16c99e69449c0cb /win/tclWinPort.h
parent32f6af9347b1d150912acc9a62e5fd256750898f (diff)
parent5834970dc69a2e8a5a9a6d515453d3244296ba49 (diff)
downloadtcl-d5692e7ae359fe12bb7da7cb99acfd292903c29f.zip
tcl-d5692e7ae359fe12bb7da7cb99acfd292903c29f.tar.gz
tcl-d5692e7ae359fe12bb7da7cb99acfd292903c29f.tar.bz2
DWORD_PTR typedef after <windows.h>
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index c29e175..e5dac8c 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -19,12 +19,6 @@
# 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.
*
@@ -42,6 +36,12 @@ typedef DWORD_PTR * PDWORD_PTR;
#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.
*/