Don't redefine CJSON_EXPORT_SYMBOLS

This commit is contained in:
Max Bruckner 2017-04-08 16:39:35 +02:00
parent ec2db50b6f
commit 411c50f671

View File

@ -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