summaryrefslogtreecommitdiff
path: root/tests/string_posix_strerror_r_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-06-08 18:11:23 -0700
committerElliott Hughes <enh@google.com>2016-06-09 17:40:19 -0700
commit3ba55f8022f3d5c5ca94a3df46fa658eda791987 (patch)
tree9e500c17531ea742e86de6848cc10ebca7ef28cb /tests/string_posix_strerror_r_test.cpp
parent93bae32c27f41e55e1cf9a6f5f8a05fbc1feaf1d (diff)
Rationalize visibility.
If it's C or POSIX, it's in. If it's BSD or GNU, it's guarded by __USE_BSD or __USE_GNU. Bug: https://code.google.com/p/android/issues/detail?id=194631 Change-Id: Ife51a21c2b37b060db56780d29c929805b199cb6
Diffstat (limited to 'tests/string_posix_strerror_r_test.cpp')
-rw-r--r--tests/string_posix_strerror_r_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/string_posix_strerror_r_test.cpp b/tests/string_posix_strerror_r_test.cpp
index ae3b41abd..596684b56 100644
--- a/tests/string_posix_strerror_r_test.cpp
+++ b/tests/string_posix_strerror_r_test.cpp
@@ -20,7 +20,7 @@
#if defined(__GLIBC__)
// At the time of writing, libcxx -- which is dragged in by gtest -- assumes
-// declarations from glibc of things that aren't available without __USE_GNU.
+// declarations from glibc of things that aren't available without _GNU_SOURCE.
// This means we can't even build this test (which is a problem because that
// means it doesn't get included in CTS).
// For glibc 2.15, the symbols in question are: