From 1bfeab104c4697a83478346f0eebd1ac03429d68 Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 19 Apr 2017 18:59:42 +0000 Subject: more changes to make the C runtime compilable with MSVC --- src/runtime/c/gu/utf8.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/c/gu/utf8.h') 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); } } -- cgit v1.2.3