vcpkg/ports/mongo-c-driver/static.patch
2018-01-01 15:22:26 +08:00

14 lines
324 B
Diff

diff --git a/mongoc-macros.h b/mongoc-macros.h
index 909bf6c..0a1f612 100644
--- a/mongoc-macros.h
+++ b/mongoc-macros.h
@@ -40,7 +40,7 @@
#elif defined(MONGOC_COMPILATION)
#define MONGOC_API __declspec(dllexport)
#else
-#define MONGOC_API __declspec(dllimport)
+#define MONGOC_API
#endif
#define MONGOC_CALL __cdecl