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