| Index: posix/safe_strerror.cc
|
| diff --git a/posix/safe_strerror.cc b/posix/safe_strerror.cc
|
| index e80e8f8bd98e2b8b7a13837b160fbc7963312845..798658e96201e3739a7de19ad8b9061b78531d1f 100644
|
| --- a/posix/safe_strerror.cc
|
| +++ b/posix/safe_strerror.cc
|
| @@ -20,7 +20,11 @@
|
|
|
| namespace base {
|
|
|
| -#define USE_HISTORICAL_STRERRO_R (defined(__GLIBC__) || defined(OS_NACL))
|
| +#if defined(__GLIBC__) || defined(OS_NACL)
|
| +#define USE_HISTORICAL_STRERRO_R 1
|
| +#else
|
| +#define USE_HISTORICAL_STRERRO_R 0
|
| +#endif
|
|
|
| #if USE_HISTORICAL_STRERRO_R && defined(__GNUC__)
|
| // GCC will complain about the unused second wrap function unless we tell it
|
|
|