summaryrefslogtreecommitdiffhomepage
path: root/include/stc/ccommon.h
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2023-05-21 23:30:25 +0200
committerTyge Lovset <[email protected]>2023-05-21 23:30:25 +0200
commit0b34cadda2bc4da1cb0904989c8a5f2fe0236358 (patch)
tree038335539ecd9363fbfc70a850a340b291a10888 /include/stc/ccommon.h
parent56b0884044610861866a1a27fb64276411604986 (diff)
downloadSTC-modified-0b34cadda2bc4da1cb0904989c8a5f2fe0236358.tar.gz
STC-modified-0b34cadda2bc4da1cb0904989c8a5f2fe0236358.zip
NB! Made cstr.h header-only by default. Now requires #define i_static, i_implement or i_extern (includes utf8code.c) to implement non-inline functions (or link with libstc).
Diffstat (limited to 'include/stc/ccommon.h')
-rw-r--r--include/stc/ccommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/ccommon.h b/include/stc/ccommon.h
index e9d97d4b..eb3a6601 100644
--- a/include/stc/ccommon.h
+++ b/include/stc/ccommon.h
@@ -253,6 +253,6 @@ STC_INLINE intptr_t cnextpow2(intptr_t n) {
#if defined(STC_EXTERN)
#define i_extern
#endif
-#if defined(i_static) || defined(STC_IMPLEMENT)
+#if defined(i_static) || defined(STC_IMPLEMENT) || defined(i_extern)
#define i_implement
#endif