Skip to content

Commit

Permalink
Don't redefine CJSON_EXPORT_SYMBOLS
Browse files Browse the repository at this point in the history
  • Loading branch information
FSMaxB committed Apr 8, 2017
1 parent ec2db50 commit 411c50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cJSON.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 411c50f

Please sign in to comment.