diff options
Diffstat (limited to 'src/xregex.c')
-rw-r--r-- | src/xregex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xregex.c b/src/xregex.c index 3c3cf35..4fa098d 100644 --- a/src/xregex.c +++ b/src/xregex.c @@ -188,7 +188,7 @@ int bfs_regcomp(struct bfs_regex **preg, const char *pattern, enum bfs_regex_typ cflags |= REG_ICASE; } -#if BFS_HAS_FEATURE(memory_sanitizer, false) +#if __has_feature(memory_sanitizer) // https://github.com/google/sanitizers/issues/1496 memset(®ex->impl, 0, sizeof(regex->impl)); #endif |