From a8eaa2f2e560547e63c7976960435e1ae23a22b1 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 12 Apr 2017 10:24:56 +0000 Subject: a patch from Bjørnar Luteberget for compatibility with MSVC MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/runtime/c/gu/string.h | 6 +++--- 1 file changed, 3 insertions(+), 3 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 4064286a9..2bf1aef45 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_ -extern GuEquality gu_string_equality[1]; +GU_API_DATA GuEquality gu_string_equality[1]; -extern GuOrder gu_string_order[1]; +GU_API_DATA GuOrder gu_string_order[1]; #endif #if defined(GU_HASH_H_) && !defined(GU_STRING_H_HASH_) @@ -69,7 +69,7 @@ extern GuOrder gu_string_order[1]; GuHash gu_string_hash(GuHash h, GuString s); -extern GuHasher gu_string_hasher[1]; +GU_API_DATA GuHasher gu_string_hasher[1]; #endif #if defined(GU_SEQ_H_) && !defined(GU_STRING_H_SEQ_) -- cgit v1.2.3