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 cd11212 commit b16abf8Copy full SHA for b16abf8
include/json/config.h
@@ -48,6 +48,8 @@
48
#if defined(_MSC_VER) || defined(__MINGW32__)
49
#define JSON_API __declspec(dllexport)
50
#define JSONCPP_DISABLE_DLL_INTERFACE_WARNING
51
+#elif defined(__GNUC__) || defined(__clang__)
52
+#define JSON_API __attribute__((visibility("default")))
53
#endif // if defined(_MSC_VER)
54
#elif defined(JSON_DLL)
55
0 commit comments