X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Fstring.h;h=4a96cb1456ffd2a928d18439007cfc3959b2b5e5;hp=fd4f2f021c38c29e7df97567270e3b103cbff0b6;hb=ce7fc42f24c2c9a62a5eeb77f248d27a5cb4de4b;hpb=6ce1601f8fbd14fed32790e3e58fe11ecdf07183 diff --git a/src/common/compat/string.h b/src/common/compat/string.h index fd4f2f021..4a96cb145 100644 --- a/src/common/compat/string.h +++ b/src/common/compat/string.h @@ -109,7 +109,7 @@ static inline int lttng_fls(int val) } #endif /* HAVE_FLS */ -#if HAVE_MEMRCHR +#ifdef HAVE_MEMRCHR static inline void *lttng_memrchr(const void *s, int c, size_t n) {