Skip to content

Commit

Permalink
svn 3974
Browse files Browse the repository at this point in the history
  • Loading branch information
prefetchnta committed Sep 26, 2018
1 parent 85e79ec commit d21a1cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inc/util/cjson/cJSON.h
Expand Up @@ -52,8 +52,13 @@ then using the CJSON_API_VISIBILITY flag to "export" the same symbols the way CJ
*/

#if defined(_M_IX86)
#define CJSON_CDECL __cdecl
#define CJSON_STDCALL __stdcall
#else
#define CJSON_CDECL
#define CJSON_STDCALL
#endif

/* export symbols by default, this is necessary for copy pasting the C and header file */
#if !defined(CJSON_HIDE_SYMBOLS) && !defined(CJSON_IMPORT_SYMBOLS) && !defined(CJSON_EXPORT_SYMBOLS)
Expand Down

0 comments on commit d21a1cf

Please sign in to comment.