summaryrefslogtreecommitdiff
path: root/pkstr.h
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2024-10-12 00:41:13 -0400
committerJonathan Bradley <jcb@pikum.xyz>2024-10-12 00:41:51 -0400
commit0385fb79f17dc7e3b4e266049c3db07bdd86dcd6 (patch)
tree126b0c2c85cf13b60e192e8820c23acfe4380f9e /pkstr.h
parent7889de050105a9fba827c46eaae767490c75177c (diff)
add PK_IMPL_ALL and break-up IMPL defines
Diffstat (limited to 'pkstr.h')
-rw-r--r--pkstr.h4
1 files changed, 2 insertions, 2 deletions
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 */