From 84dcc01da193e870bb756254fff7cb34efde0459 Mon Sep 17 00:00:00 2001 From: Rikard Falkeborn Date: Wed, 13 Dec 2017 22:24:50 +0100 Subject: [PATCH] Fix non-GNUC define for JSON_C_CONST_FUNCTION --- json_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_object.h b/json_object.h index 758efa6..4b7a246 100644 --- a/json_object.h +++ b/json_object.h @@ -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) -- 2.50.0