Fix non-GNUC define for JSON_C_CONST_FUNCTION

This commit is contained in:
Rikard Falkeborn
2017-12-13 22:24:50 +01:00
parent 5b6d62259a
commit 84dcc01da1

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)