X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fvec.c;h=970f7f7bfa8893ecc0f77e7677fca0663421f670;hb=edca8c6e753380f12d23e9ee4e0a9be4e24c43a8;hp=e98b58251568c9c3b3bb8ac5aec9dad30cfab7e3;hpb=df6d986f81f89ed46288ab508485700b4ed7dca1;p=vpp.git diff --git a/src/vppinfra/vec.c b/src/vppinfra/vec.c index e98b5825156..970f7f7bfa8 100644 --- a/src/vppinfra/vec.c +++ b/src/vppinfra/vec.c @@ -38,6 +38,10 @@ #include #include +#ifndef CLIB_VECTOR_GROW_BY_ONE +#define CLIB_VECTOR_GROW_BY_ONE 0 +#endif + /* Vector resize operator. Called as needed by various macros such as vec_add1() when we need to allocate memory. */ __clib_export void *