diff options
Diffstat (limited to 'base/safe_strerror_posix.cc')
-rw-r--r-- | base/safe_strerror_posix.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/safe_strerror_posix.cc b/base/safe_strerror_posix.cc index a91bb8de..892592ae 100644 --- a/base/safe_strerror_posix.cc +++ b/base/safe_strerror_posix.cc @@ -9,7 +9,8 @@ #include <stdio.h> #include <string.h> -#define USE_HISTORICAL_STRERRO_R (defined(__GLIBC__) || defined(OS_NACL)) +#define USE_HISTORICAL_STRERRO_R (defined(__GLIBC__) || defined(__BIONIC__) || \ + defined(OS_NACL)) #if USE_HISTORICAL_STRERRO_R && defined(__GNUC__) // GCC will complain about the unused second wrap function unless we tell it |