diff options
Diffstat (limited to 'tests/regex_test.cpp')
-rw-r--r-- | tests/regex_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regex_test.cpp b/tests/regex_test.cpp index 659d1db43..d02622190 100644 --- a/tests/regex_test.cpp +++ b/tests/regex_test.cpp @@ -28,7 +28,7 @@ TEST(regex, smoke) { char buf[80]; regerror(REG_NOMATCH, &re, buf, sizeof(buf)); -#if __BIONIC__ +#if defined(__BIONIC__) ASSERT_STREQ("regexec() failed to match", buf); #else ASSERT_STREQ("No match", buf); |