summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/utf8.h
diff options
context:
space:
mode:
authorkrasimir <krasimir@chalmers.se>2017-04-19 18:59:42 +0000
committerkrasimir <krasimir@chalmers.se>2017-04-19 18:59:42 +0000
commit1bfeab104c4697a83478346f0eebd1ac03429d68 (patch)
treed8af16b8720e5df83defb4662a0afff375fb2795 /src/runtime/c/gu/utf8.h
parent2bdfd27173d2eedb4c39e30ae4ef0cff057604cd (diff)
more changes to make the C runtime compilable with MSVC
Diffstat (limited to 'src/runtime/c/gu/utf8.h')
-rw-r--r--src/runtime/c/gu/utf8.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/c/gu/utf8.h b/src/runtime/c/gu/utf8.h
index 6b4932b8e..2b7e037ab 100644
--- a/src/runtime/c/gu/utf8.h
+++ b/src/runtime/c/gu/utf8.h
@@ -13,7 +13,7 @@ gu_in_utf8(GuIn* in, GuExn* err)
gu_in_consume(in, 1);
return (GuUCS) i;
}
- extern GuUCS gu_in_utf8_(GuIn* in, GuExn* err);
+ GU_API_DECL GuUCS gu_in_utf8_(GuIn* in, GuExn* err);
return gu_in_utf8_(in, err);
}
@@ -24,7 +24,7 @@ gu_out_utf8(GuUCS ucs, GuOut* out, GuExn* err)
if (GU_LIKELY(ucs < 0x80)) {
gu_out_u8(out, ucs, err);
} else {
- extern void gu_out_utf8_(GuUCS ucs, GuOut* out, GuExn* err);
+ GU_API_DECL void gu_out_utf8_(GuUCS ucs, GuOut* out, GuExn* err);
gu_out_utf8_(ucs, out, err);
}
}