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.
1 parent 3e51598 commit 8aabf93Copy full SHA for 8aabf93
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) || defined(__GNUC__)
+#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