diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-24 03:17:54 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-24 03:17:54 +0100 |
commit | f0f1e06e1ee21dc5260da7d40f5a029bd71596aa (patch) | |
tree | a1d44764cf8b1a02d05e736beb941de1fbd5fee5 | |
parent | 3a8f0c8d00bd7c87404763e7c1f9c9e484810869 (diff) | |
download | prick-f0f1e06e1ee21dc5260da7d40f5a029bd71596aa.tar.gz prick-f0f1e06e1ee21dc5260da7d40f5a029bd71596aa.tar.bz2 prick-f0f1e06e1ee21dc5260da7d40f5a029bd71596aa.zip |
VEC_MULT may be set as user, so have a #if guard.
-rw-r--r-- | vec.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -41,7 +41,10 @@ void vec_ensure_remaining(void **ptr, uint32_t space); #include <malloc.h> #include <string.h> -#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)) |