vcpkg/ports/libbson/static.patch

14 lines
306 B
Diff
Raw Normal View History

2016-11-21 11:53:06 +08:00
diff --git a/bson-macros.h b/bson-macros.h
index 909bf6c..0a1f612 100644
--- a/bson-macros.h
+++ b/bson-macros.h
2018-01-01 15:20:33 +08:00
@@ -87,7 +87,7 @@
#elif defined(BSON_COMPILATION)
#define BSON_API __declspec(dllexport)
#else
-#define BSON_API __declspec(dllimport)
+#define BSON_API
#endif
#define BSON_CALL __cdecl