diff options
Diffstat (limited to 'fontconfig/src/fccache.c')
-rw-r--r-- | fontconfig/src/fccache.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fontconfig/src/fccache.c b/fontconfig/src/fccache.c index d8102d7b4..bbf950f17 100644 --- a/fontconfig/src/fccache.c +++ b/fontconfig/src/fccache.c @@ -36,9 +36,6 @@ #if defined(HAVE_MMAP) || defined(__CYGWIN__) # include <unistd.h> # include <sys/mman.h> -#elif defined(_WIN32) -# define _WIN32_WINNT 0x0500 -# include <windows.h> #endif #ifndef O_BINARY @@ -866,6 +863,7 @@ bail1: #ifdef _WIN32 +#undef mkdir #define mkdir(path,mode) _mkdir(path) #endif |