vcpkg/ports/mongo-c-driver/static.patch

14 lines
324 B
Diff
Raw Normal View History

2018-01-01 15:22:26 +08:00
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