diff options
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/libzip/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/libzip/compat.h b/src/Common/libzip/compat.h index 4cc6703f..ed1f8726 100644 --- a/src/Common/libzip/compat.h +++ b/src/Common/libzip/compat.h @@ -42,7 +42,11 @@ #define __STDC_LIMIT_MACROS #ifdef _WIN32 +#ifdef ZIP_STATIC +#define ZIP_EXTERN +#else #define ZIP_EXTERN __declspec(dllexport) +#endif /* for dup(), close(), etc. */ #include <io.h> #endif |