Browse Source

Merge pull request #391 from rikardfalkeborn/fix-const-function-define

Fix non-GNUC define for JSON_C_CONST_FUNCTION
tags/json-c-0.14-20200419
Eric Haszlakiewicz GitHub 7 years ago
parent
commit
e411b1a36e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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