diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2010-11-16 17:23:10 +0000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-11-17 07:23:13 +1000 |
commit | acb85448a17708101ed2a7aa8fda71ab0794877a (patch) | |
tree | 17b5d0bcc9ba724b3f8fd7480790d8619723c9ef /jim-win32compat.h | |
parent | 31d09164ecc9581d1767a12c6d614d70daa232e4 (diff) | |
download | jimtcl-acb85448a17708101ed2a7aa8fda71ab0794877a.zip jimtcl-acb85448a17708101ed2a7aa8fda71ab0794877a.tar.gz jimtcl-acb85448a17708101ed2a7aa8fda71ab0794877a.tar.bz2 |
build: fix cygwin build issue
Avoid windows.h on cygwin
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'jim-win32compat.h')
-rw-r--r-- | jim-win32compat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jim-win32compat.h b/jim-win32compat.h index 12275ba..0db8439 100644 --- a/jim-win32compat.h +++ b/jim-win32compat.h @@ -6,12 +6,12 @@ #define STRICT #endif -#define WIN32_LEAN_AND_MEAN -#include <windows.h> - /* None of these is needed for cygwin */ #if !defined(__CYGWIN__) +#define WIN32_LEAN_AND_MEAN +#include <windows.h> + #define JIM_ANSIC #define MKDIR_ONE_ARG #define rand_r(S) ((void)(S), rand()) |