]> git.lizzy.rs Git - dragonstd.git/commitdiff
Make realloc_extra optional
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>
Tue, 11 Jan 2022 12:33:54 +0000 (13:33 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Jan 2022 12:33:54 +0000 (13:33 +0100)
array.h

diff --git a/array.h b/array.h
index 9cbca5b5025ac28aa0dee9b1b3ca4a80e95631a6..39a754de32bd251f5c34f89993043408ea66d23c 100644 (file)
--- a/array.h
+++ b/array.h
@@ -1,7 +1,9 @@
 #ifndef _DRAGONTYPE_ARRAY_H_
 #define _DRAGONTYPE_ARRAY_H_
 
+#ifndef DRAGONTYPE_ARRAY_REALLOC_EXTRA
 #define DRAGONTYPE_ARRAY_REALLOC_EXTRA 25
+#endif
 
 #include <stddef.h>
 #include <stdbool.h>