summaryrefslogtreecommitdiffhomepage
path: root/include/stc/utf8.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-02-05 18:21:17 +0100
committerTyge Løvset <[email protected]>2023-02-05 18:21:17 +0100
commit217865ae413f9cfcc72af176ec7e98f418bddbea (patch)
treee862dddb60fe69fbdb91b14de1f4e44cd7088b43 /include/stc/utf8.h
parentb21be5762a5037abbd9aa820d204f0825382194d (diff)
downloadSTC-modified-217865ae413f9cfcc72af176ec7e98f418bddbea.tar.gz
STC-modified-217865ae413f9cfcc72af176ec7e98f418bddbea.zip
Fixed linking parameters i_extern.
Diffstat (limited to 'include/stc/utf8.h')
-rw-r--r--include/stc/utf8.h2
1 files changed, 1 insertions, 1 deletions
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