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

Fix non-GNUC define for JSON_C_CONST_FUNCTION
This commit is contained in:
Eric Haszlakiewicz authored and GitHub committed 2017-12-13 21:51:13 -05:00
commit e411b1a36e
1 file changed
+1 -1
+1 -1
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)