summaryrefslogtreecommitdiff
path: root/printbuf.h
diff options
context:
space:
mode:
authorDavid McCann <mccannd@uk.ibm.com>2021-05-13 06:34:10 +0100
committerDavid McCann <mccannd@uk.ibm.com>2021-05-13 06:34:10 +0100
commit00098efc966ee4551255ab5841d83e2e5345a3ad (patch)
treef26ead399be5306a7a19c7ca39e02e6ecaf06ce8 /printbuf.h
parent9b53c92ea398c479f59f77b2cbd24d2ccf1fc29a (diff)
parentcd7109f767a6d9f20caa9d10fbf4eab9c5262e7a (diff)
downloadjson-c-00098efc966ee4551255ab5841d83e2e5345a3ad.tar.gz
Merge branch 'json-c:master' into master
Diffstat (limited to 'printbuf.h')
-rw-r--r--printbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/printbuf.h b/printbuf.h
index bfcbd2b..a0da668 100644
--- a/printbuf.h
+++ b/printbuf.h
@@ -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