commit | e7943f8b953a003a601477a3aa87ec303994c25e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Sep 28 08:20:20 2023 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Sep 28 10:47:51 2023 -0700 |
tree | 4f518ab6b545c410998ea311376450ccb7e212e7 | |
parent | a67fe1b171ef3dfaddf85069cd2279ea6ad3d6a8 [diff] [blame] |
Consistently use `#if defined(__BIONIC__)`. Test: treehugger Change-Id: I844b909404532eb9165cba1ed6f237bdd4a46990
diff --git a/tests/poll_test.cpp b/tests/poll_test.cpp index 33143f8..5799fea 100644 --- a/tests/poll_test.cpp +++ b/tests/poll_test.cpp
@@ -49,7 +49,7 @@ } TEST(poll, ppoll64_null_fds) { -#if __BIONIC__ +#if defined(__BIONIC__) // Because nanosleep(2) is relatively new to POSIX, code sometimes abuses poll. errno = 0; timespec ts = { .tv_nsec = 100 };