mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Windows: avoid exporting libzip symbols from VeraCrypt binaries.
This commit is contained in:
@@ -42,7 +42,11 @@
|
|||||||
#define __STDC_LIMIT_MACROS
|
#define __STDC_LIMIT_MACROS
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#ifdef ZIP_STATIC
|
||||||
|
#define ZIP_EXTERN
|
||||||
|
#else
|
||||||
#define ZIP_EXTERN __declspec(dllexport)
|
#define ZIP_EXTERN __declspec(dllexport)
|
||||||
|
#endif
|
||||||
/* for dup(), close(), etc. */
|
/* for dup(), close(), etc. */
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user