mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 00:49:01 +08:00
7e67ab9f0b
* [libzim] No uwp * [libzim] Update to 9.0.0
17 lines
469 B
Diff
17 lines
469 B
Diff
diff --git a/include/zim/zim.h b/include/zim/zim.h
|
|
index 80e8596..631cfab 100644
|
|
--- a/include/zim/zim.h
|
|
+++ b/include/zim/zim.h
|
|
@@ -35,8 +35,10 @@
|
|
|
|
#include <zim/zim_config.h>
|
|
|
|
-#if defined(_MSC_VER) && defined(LIBZIM_EXPORT_DLL)
|
|
+#if defined(_WIN32) && defined(LIBZIM_EXPORT_DLL)
|
|
#define LIBZIM_API __declspec(dllexport)
|
|
+#elif defined(_WIN32) && defined(LIBZIM_IMPORT_DLL)
|
|
+ #define LIBZIM_API __declspec(dllimport)
|
|
#else
|
|
#define LIBZIM_API
|
|
#endif
|