From 217865ae413f9cfcc72af176ec7e98f418bddbea Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sun, 5 Feb 2023 18:21:17 +0100 Subject: Fixed linking parameters i_extern. --- include/stc/utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/stc/utf8.h') diff --git a/include/stc/utf8.h b/include/stc/utf8.h index da738fc6..7ad01ef4 100644 --- a/include/stc/utf8.h +++ b/include/stc/utf8.h @@ -114,7 +114,7 @@ STC_INLINE intptr_t utf8_pos(const char* s, intptr_t index) { return (intptr_t)(utf8_at(s, index) - s); } #endif // UTF8_H_INCLUDED -#if defined i_extern || defined STC_EXTERN +#if defined(i_extern) # include "../../src/utf8code.c" # undef i_extern #endif -- cgit v1.2.3