From f0f1e06e1ee21dc5260da7d40f5a029bd71596aa Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 24 Oct 2024 03:17:54 +0100 Subject: VEC_MULT may be set as user, so have a #if guard. --- vec.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vec.h b/vec.h index 1afee76..a87c851 100644 --- a/vec.h +++ b/vec.h @@ -41,7 +41,10 @@ void vec_ensure_remaining(void **ptr, uint32_t space); #include #include -#define VEC_MULT 2 +#ifndef VEC_MULT +#define VEC_MULT 2 +#endif + #define MAX(A, B) ((A) > (B) ? (A) : (B)) #define MIN(A, B) ((A) < (B) ? (A) : (B)) -- cgit v1.2.3-13-gbd6f