vcpkg/ports/libbson/static.patch
2016-11-21 11:53:06 +08:00

14 lines
374 B
Diff

diff --git a/bson-macros.h b/bson-macros.h
index 909bf6c..0a1f612 100644
--- a/bson-macros.h
+++ b/bson-macros.h
@@ -69,7 +69,7 @@
# ifdef BSON_COMPILATION
# define BSON_API __declspec(dllexport)
# else
-# define BSON_API __declspec(dllimport)
+# define BSON_API
# endif
#elif defined(__GNUC__)
# define BSON_API __attribute__ ((visibility ("default")))