summary refs log tree commit diff
diff options
context:
space:
mode:
authorWormHeamer2025-02-07 09:01:04 -0500
committerWormHeamer2025-02-07 09:01:04 -0500
commit552607b79d44e83712b2540678e3291b235b13b0 (patch)
tree8f63167799c3eccca99b7a38185493b531212454
parent3468827a2792463e84903877ccf729ef48afbb10 (diff)
allow user redefinition of SHASH_SLOTS
-rw-r--r--shash.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shash.h b/shash.h
index 604b1e0..537449e 100644
--- a/shash.h
+++ b/shash.h
@@ -9,7 +9,9 @@
 #include "dynarr.h"
 #include "str.h"
 
+#ifndef SHASH_SLOTS
 #define SHASH_SLOTS 8192
+#endif
 
 typedef uint64_t hash_t;