mirror of
https://github.com/json-c/json-c.git
synced 2026-11-08 22:50:47 +08:00
To avoid target exe file export JSON functions.
This commit is contained in:
1 parent
041cef434a
commit
ba181548bc
5 files changed
+8
-4
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef JSON_EXPORT
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && defined(JSON_C_DLL)
|
||||
#define JSON_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define JSON_EXPORT extern
|
||||
|
||||
Reference in new issue
Block a user