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/csview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/stc/csview.h') diff --git a/include/stc/csview.h b/include/stc/csview.h index a30672cd..aa519fec 100644 --- a/include/stc/csview.h +++ b/include/stc/csview.h @@ -159,7 +159,7 @@ STC_INLINE bool csview_eq(const csview* x, const csview* y) STC_API uint64_t csview_hash(const csview *self); /* -------------------------- IMPLEMENTATION ------------------------- */ -#if defined(i_implement) +#if defined(i_static) || defined(i_extern) STC_DEF intptr_t csview_find_sv(csview sv, csview search) { char* res = cstrnstrn(sv.str, search.str, sv.size, search.size); -- cgit v1.2.3