Skip to content

Commit

Permalink
fixup 9c02505: build failure outside clang
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Oct 5, 2021
1 parent f477215 commit 3385303
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion unittest/libmariadb/misc.c
Expand Up @@ -1060,7 +1060,11 @@ static int test_read_timeout(MYSQL *unused __attribute__((unused)))

return OK;
}
#if __has_feature(memory_sanitizer)

#ifndef __has_feature
# define __has_feature(x) 0
#endif
#if !__has_feature(memory_sanitizer)
#ifdef HAVE_REMOTEIO
void *remote_plugin;
static int test_remote1(MYSQL *mysql)
Expand Down

0 comments on commit 3385303

Please sign in to comment.