From a657e9947bbad98e95c65488003cdca2c8c2c625 Mon Sep 17 00:00:00 2001 From: krasimir Date: Thu, 13 Apr 2017 11:06:24 +0000 Subject: use GU_API_DATA_DECL instead of GU_API_DATA to make the C runtime compile again on MacOS --- src/runtime/c/gu/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/c/gu/string.h') diff --git a/src/runtime/c/gu/string.h b/src/runtime/c/gu/string.h index 2bf1aef45..17b932397 100644 --- a/src/runtime/c/gu/string.h +++ b/src/runtime/c/gu/string.h @@ -58,9 +58,9 @@ gu_string_is_prefix(GuString s1, GuString s2); #if defined(GU_FUN_H_) && !defined(GU_STRING_H_FUN_) #define GU_STRING_H_FUN_ -GU_API_DATA GuEquality gu_string_equality[1]; +GU_API_DATA_DECL GuEquality gu_string_equality[1]; -GU_API_DATA GuOrder gu_string_order[1]; +GU_API_DATA_DECL GuOrder gu_string_order[1]; #endif #if defined(GU_HASH_H_) && !defined(GU_STRING_H_HASH_) -- cgit v1.2.3