summaryrefslogtreecommitdiff
path: root/pkmem.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 /pkmem.h
parent7889de050105a9fba827c46eaae767490c75177c (diff)
add PK_IMPL_ALL and break-up IMPL defines
Diffstat (limited to 'pkmem.h')
-rw-r--r--pkmem.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkmem.h b/pkmem.h
index e0267c4..6a2b93a 100644
--- a/pkmem.h
+++ b/pkmem.h
@@ -1,8 +1,8 @@
#ifndef PK_MEM_H
#define PK_MEM_H
-#include "pkmem-types.h"
-#include "pkmacros.h"
+#include "./pkmem-types.h"
+#include "./pkmacros.h"
#include <string.h>
#include <stdint.h>
@@ -109,7 +109,7 @@ pk_delete(const T* ptr, long count, pk_membucket* bucket = nullptr)
#endif /* PK_MEM */
-#ifdef PK_IMPLEMENTATION
+#ifdef PK_IMPL_MEM
#include <threads.h>
#include <assert.h>
@@ -553,4 +553,4 @@ pk_delete_base(const void* ptr, size_t sz)
pk_delete_bkt(ptr, sz, bkt);
}
-#endif /* PK_IMPLEMENTATION */
+#endif /* PK_IMPL_MEM */