mirror of
https://github.com/json-c/json-c.git
synced 2026-04-03 20:39:07 +08:00
Fix non-GNUC define for JSON_C_CONST_FUNCTION
This commit is contained in:
committed by
Eric Haszlakiewicz
parent
1882e3c425
commit
b5a3eff582
@@ -30,7 +30,7 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
|
#define JSON_C_CONST_FUNCTION(func) func __attribute__((const))
|
||||||
#else
|
#else
|
||||||
#define CONST_FUNCTION(func) func
|
#define JSON_C_CONST_FUNCTION(func) func
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|||||||
Reference in New Issue
Block a user