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/cregex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/stc/cregex.h') 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 -- cgit v1.2.3