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

Unified Diff: native_client_sdk/src/libraries/nacl_io/syscalls/socket/accept.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/accept.c
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/accept.c b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/accept.c
index 1536cc824a299a5632488521c4e398b49472de05..0381a38faa70d8616c7beaf241e81de0e6abc17f 100644
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/accept.c
+++ b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/accept.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 accept(int fd, struct sockaddr* addr, socklen_t* len) {
return ki_accept(fd, addr, len);
}
-#endif /* defined(PROVIDES_SOCKET_API) && !defined(__GLIBC__) */
+#endif /* defined(PROVIDES_SOCKET_API) && !defined(NACL_GLIBC_OLD) */
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/rpc/netdb.h ('k') | native_client_sdk/src/libraries/nacl_io/syscalls/socket/bind.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698