From 411c50f671b73f780ca828db718b6016cf55fcbe Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sat, 8 Apr 2017 16:39:35 +0200 Subject: [PATCH] Don't redefine CJSON_EXPORT_SYMBOLS --- cJSON.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cJSON.h b/cJSON.h index 1ad247f..1c44709 100644 --- a/cJSON.h +++ b/cJSON.h @@ -104,7 +104,7 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ */ /* export symbols by default, this is necessary for copy pasting the C and header file */ -#if !defined(CJSON_HIDE_SYMBOLS) && !defined(CJSON_IMPORT_SYMBOLS) +#if !defined(CJSON_HIDE_SYMBOLS) && !defined(CJSON_IMPORT_SYMBOLS) && !defined(CJSON_EXPORT_SYMBOLS) #define CJSON_EXPORT_SYMBOLS #endif