summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/string.h
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-04-12 10:24:56 +0000
committerkrasimir <krasimir@chalmers.se>2017-04-12 10:24:56 +0000
commita8eaa2f2e560547e63c7976960435e1ae23a22b1 (patch)
tree06ce5fd0bc77a16113b5a53118843216fd3c1aea /src/runtime/c/gu/string.h
parent915747efa793e53a7b7e9cfd861b4b4a46ace4a4 (diff)
a patch from Bjørnar Luteberget for compatibility with MSVC
Diffstat (limited to 'src/runtime/c/gu/string.h')
-rw-r--r--src/runtime/c/gu/string.h6
1 files changed, 3 insertions, 3 deletions
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_)