Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / libraries / nacl_io / syscalls / inet_pton.c
index 91d3c6c..3a74afd 100644 (file)
@@ -3,7 +3,7 @@
  * found in the LICENSE file. */
 
 #include "nacl_io/ossocket.h"
-#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
+#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) && !defined(__BIONIC__)
 
 #include <ctype.h>
 #include <errno.h>
@@ -144,4 +144,4 @@ int inet_pton(int af, const char *src, void *dst) {
   return -1;
 }
 
-#endif  /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */
+#endif  /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) ... */