diff options
-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. */ |