Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b5e61d + 8aabf93 commit c80faa4Copy full SHA for c80faa4
include/json/config.h
@@ -39,12 +39,12 @@
39
#ifdef JSON_IN_CPPTL
40
#define JSON_API CPPTL_API
41
#elif defined(JSON_DLL_BUILD)
42
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) || defined(__MINGW32__)
43
#define JSON_API __declspec(dllexport)
44
#define JSONCPP_DISABLE_DLL_INTERFACE_WARNING
45
#endif // if defined(_MSC_VER)
46
#elif defined(JSON_DLL)
47
48
#define JSON_API __declspec(dllimport)
49
50
0 commit comments