diff options
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/textadept.c b/src/textadept.c index cec9cb3c..00ed9a44 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -1,9 +1,12 @@ // Copyright 2007-2009 Mitchell mitchell<att>caladbolg.net. See LICENSE. #include "textadept.h" -#if WIN32 -#include <Windows.h> -#elif MAC +#if !(WIN32 || MAC) +#include <unistd.h> +#elif WIN32 +#include "Windows.h" +#define strcasecmp _stricmp +#else #include <Carbon/Carbon.h> #include "ige-mac-menu.h" #define CFURL_TO_STR(u) \ |