summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-07 20:15:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-07 20:15:34 (GMT)
commitef521914f66d6d6f13f5f82e630994ec04bcc004 (patch)
treeb67d526cd93611f2d6bf22c89412910772740d89 /win/tclWinPort.h
parent85723f7753964dfd99076945efd55744ee3e52a2 (diff)
parent06dc5b2c67ad5bee2a05e0cd2b7b508d956cc39a (diff)
downloadtcl-ef521914f66d6d6f13f5f82e630994ec04bcc004.zip
tcl-ef521914f66d6d6f13f5f82e630994ec04bcc004.tar.gz
tcl-ef521914f66d6d6f13f5f82e630994ec04bcc004.tar.bz2
DWORD_PTR typedef after <windows.h>
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index d1b8227..4855d12 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -19,16 +19,16 @@
# define _USE_32BIT_TIME_T
#endif
+#define WIN32_LEAN_AND_MEAN
+#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
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#undef WIN32_LEAN_AND_MEAN
-
/*
* Ask for the winsock function typedefs, also.
*/