From 0385fb79f17dc7e3b4e266049c3db07bdd86dcd6 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Sat, 12 Oct 2024 00:41:13 -0400 Subject: add PK_IMPL_ALL and break-up IMPL defines --- pkstr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkstr.h') diff --git a/pkstr.h b/pkstr.h index fc53c49..75d6801 100644 --- a/pkstr.h +++ b/pkstr.h @@ -23,7 +23,7 @@ int pk_compare_cstr(const struct pk_cstr *lhs, const struct pk_cstr *rhs); #endif /* PK_STR_H */ -#ifdef PK_IMPLEMENTATION +#ifdef PK_IMPL_STR #include "./pkmacros.h" @@ -81,4 +81,4 @@ pk_compare_cstr(const struct pk_cstr *lhs, const struct pk_cstr *rhs) return strncmp(lhs->val, rhs->val, PK_MIN(lhs->length, rhs->length)); } -#endif /* PK_IMPLEMENTATION */ +#endif /* PK_IMPL_STR */ -- cgit v1.2.3