diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-07 20:15:34 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-07 20:15:34 (GMT) |
commit | 5834970dc69a2e8a5a9a6d515453d3244296ba49 (patch) | |
tree | b67d526cd93611f2d6bf22c89412910772740d89 /win/tclWinPort.h | |
parent | 6fba842371cba815e4bec4fbc5fcbef52d2f30bb (diff) | |
parent | 30a44a9e96707cf77f54ebcbee09ee2926975ade (diff) | |
download | tcl-5834970dc69a2e8a5a9a6d515453d3244296ba49.zip tcl-5834970dc69a2e8a5a9a6d515453d3244296ba49.tar.gz tcl-5834970dc69a2e8a5a9a6d515453d3244296ba49.tar.bz2 |
DWORD_PTR typedef after <windows.h>
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 8 |
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. */ |