Browse Source

Fix non-GNUC define for JSON_C_CONST_FUNCTION

tags/json-c-0.14-20200419
Rikard Falkeborn 7 years ago
parent
commit
84dcc01da1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_object.h

+ 1
- 1
json_object.h View File

@@ -30,7 +30,7 @@
#ifdef __GNUC__
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
#else
#define CONST_FUNCTION(func) func
#define JSON_C_CONST_FUNCTION(func) func
#endif

#if defined(_MSC_VER)


Loading…
Cancel
Save