diff options
Diffstat (limited to 'jim-win32.c')
-rw-r--r-- | jim-win32.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/jim-win32.c b/jim-win32.c index 2925fb5..2a6e1b9 100644 --- a/jim-win32.c +++ b/jim-win32.c @@ -19,6 +19,15 @@ */ #include <jim.h> + +/* Apparently windows.h and cygwin don't mix, but we seem to get + * away with it here. Use at your own risk under cygwin + */ +#if defined(__CYGWIN__) +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#endif + #include <shellapi.h> #include <lmcons.h> #include <psapi.h> |