mirror of
https://github.com/json-c/json-c.git
synced 2026-04-03 04:19:07 +08:00
To avoid target exe file export JSON functions.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#define _printbuf_h_
|
||||
|
||||
#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