summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-07 20:09:39 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-07 20:09:39 (GMT)
commit30a44a9e96707cf77f54ebcbee09ee2926975ade (patch)
tree786b06973553fd01f4c0b6e23699107fc7532e1c /win/tclWinPort.h
parentd5ea885e1cb865eee05b60f99f61ac30e8a136c8 (diff)
downloadtcl-30a44a9e96707cf77f54ebcbee09ee2926975ade.zip
tcl-30a44a9e96707cf77f54ebcbee09ee2926975ade.tar.gz
tcl-30a44a9e96707cf77f54ebcbee09ee2926975ade.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 06d7dc6..dd42340 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -18,12 +18,6 @@
# 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
@@ -73,6 +67,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.
*/