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 @@ | |||
42 | #define __STDC_LIMIT_MACROS | 42 | #define __STDC_LIMIT_MACROS |
43 | 43 | ||
44 | #ifdef _WIN32 | 44 | #ifdef _WIN32 |
45 | #ifdef ZIP_STATIC | ||
46 | #define ZIP_EXTERN | ||
47 | #else | ||
45 | #define ZIP_EXTERN __declspec(dllexport) | 48 | #define ZIP_EXTERN __declspec(dllexport) |
49 | #endif | ||
46 | /* for dup(), close(), etc. */ | 50 | /* for dup(), close(), etc. */ |
47 | #include <io.h> | 51 | #include <io.h> |
48 | #endif | 52 | #endif |