diff --git a/module/nvpair/nvpair.c b/module/nvpair/nvpair.c index 47fd1b0fd6f2..a054a6376ca9 100644 --- a/module/nvpair/nvpair.c +++ b/module/nvpair/nvpair.c @@ -55,7 +55,7 @@ #define skip_whitespace(p) while ((*(p) == ' ') || (*(p) == '\t')) (p)++ -#ifdef __CHERI_PURE_CAPABILITY__ +#if __has_feature(capabilities) #define NVPAIR_OVER_ALLOCATE_DECODE #endif