Windows: avoid exporting libzip symbols from VeraCrypt binaries.

This commit is contained in:
Mounir IDRASSI 2016-12-30 20:16:42 +01:00
parent d7b20a070e
commit 049daa775a
No known key found for this signature in database
GPG Key ID: DD0C382D5FCFB8FC
1 changed files with 4 additions and 0 deletions

View File

@ -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