summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cregex.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/cregex.h
parentb21be5762a5037abbd9aa820d204f0825382194d (diff)
downloadSTC-modified-217865ae413f9cfcc72af176ec7e98f418bddbea.tar.gz
STC-modified-217865ae413f9cfcc72af176ec7e98f418bddbea.zip
Fixed linking parameters i_extern.
Diffstat (limited to 'include/stc/cregex.h')
-rw-r--r--include/stc/cregex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/cregex.h b/include/stc/cregex.h
index 564fe157..fa136f16 100644
--- a/include/stc/cregex.h
+++ b/include/stc/cregex.h
@@ -160,12 +160,12 @@ cstr cregex_replace_pattern_6(const char* pattern, const char* input, const char
void cregex_drop(cregex* re);
#endif // CREGEX_H_INCLUDED
-#if defined i_extern || defined STC_EXTERN
+#if defined(i_extern)
# include "../../src/cregex.c"
# include "../../src/utf8code.c"
+# undef i_extern
#endif
#undef i_opt
#undef i_header
#undef i_static
#undef i_implement
-#undef i_extern