Index: native_client_sdk/src/libraries/nacl_io/syscalls/socket/gai_strerror.c |
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/gai_strerror.c b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/gai_strerror.c |
index db581b41cefea8f9435556f9c17618bc2475c5c1..23521e1afba0d3a8f20577a3bebae2552feee725 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/gai_strerror.c |
+++ b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/gai_strerror.c |
@@ -8,8 +8,8 @@ |
#include <stdio.h> |
-#if !defined(__GLIBC__) |
-#if defined(__BIONIC__) || defined(__APPLE__) |
+#if !defined(NACL_GLIBC_OLD) |
+#if !defined(_NEWLIB_VERSION) |
const |
#endif |
char* gai_strerror(int errcode) { |