Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: native_client_sdk/src/libraries/nacl_io/syscalls/socket/connect.c

Issue 1243823002: [NaCl SDK] Second phase of enable glibc arm toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reenable_irtext
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/syscalls/socket/connect.c
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/connect.c b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/connect.c
index 46f083fbeadf3b3110ed08b1d8473641d48ed34a..f0ff924b61ea951bfe1b1a14268f173b330ef3f0 100644
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/connect.c
+++ b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/connect.c
@@ -5,10 +5,10 @@
#include "nacl_io/kernel_intercept.h"
#include "nacl_io/kernel_wrap.h"
-#if defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__)
+#if defined(PROVIDES_SOCKET_API) && !defined(NACL_GLIBC_OLD)
int connect(int fd, const struct sockaddr* addr, socklen_t len) {
return ki_connect(fd, addr, len);
}
-#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */
+#endif /* defined(PROVIDES_SOCKET_API) && !defined(NACL_GLIBC_OLD) */

Powered by Google App Engine
This is Rietveld 408576698