summary refs log tree commit diff
diff options
context:
space:
mode:
authorWormHeamer2025-02-28 21:11:15 -0500
committerWormHeamer2025-02-28 21:11:15 -0500
commit7f796680b3302646ec3e9a14ea673c2313f41895 (patch)
treeb8fdfdf3f76b572a31d653de46369f0d8d044f46
parenta051895b87c1bc7d7d397349726c9a175713d2d1 (diff)
make ZONE_MIN_CAPACITY user-definable
-rw-r--r--zone.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zone.h b/zone.h
index 2f653df..0a6db89 100644
--- a/zone.h
+++ b/zone.h
@@ -3,7 +3,9 @@
 
 #include <stdint.h>
 
+#ifndef ZONE_MIN_CAPACITY
 #define ZONE_MIN_CAPACITY 1024
+#endif
 
 #define ZONE_USE_MALLOC 0
 #define ZONE_USE_MMAP   1