--- a/mongoc/mongoc-macros.h +++ b/mongoc/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