mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 02:58:02 -06:00
Windows: avoid exporting libzip symbols from VeraCrypt binaries.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user