From 7c1d89ec9d151998a506eca0054d122eddd00fe5 Mon Sep 17 00:00:00 2001 From: ars_goldendict Date: Sat, 2 May 2009 14:02:37 +0000 Subject: [PATCH] libzip config updated in order to get compiled on windows --- src/libzip/config.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/libzip/config.h b/src/libzip/config.h index c9ecc8c1..7e0e1f77 100644 --- a/src/libzip/config.h +++ b/src/libzip/config.h @@ -9,10 +9,14 @@ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the `fseeko' function. */ +#ifndef _WIN32 #define HAVE_FSEEKO 1 +#endif /* Define to 1 if you have the `ftello' function. */ +#ifndef _WIN32 #define HAVE_FTELLO 1 +#endif /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 @@ -24,7 +28,9 @@ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `mkstemp' function. */ +#ifndef _WIN32 #define HAVE_MKSTEMP 1 +#endif /* Define to 1 if you have the `MoveFileExA' function. */ /* #undef HAVE_MOVEFILEEXA */ @@ -42,7 +48,9 @@ #define HAVE_STRING_H 1 /* Define to 1 if `tm_zone' is member of `struct tm'. */ +#ifndef _WIN32 #define HAVE_STRUCT_TM_TM_ZONE 1 +#endif /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1