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

Unified Diff: native_client_sdk/src/libraries/nacl_io/syscalls/socket/send.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/send.c
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/send.c b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/send.c
index 92a367cc57576db6d5f972e26f44654526f28784..abc87e1770a3d68fda9b9f892a719d92bcfccde0 100644
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/send.c
+++ b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/send.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)
ssize_t send(int fd, const void* buf, size_t len, int flags) {
return ki_send(fd, buf, len, flags);
}
-#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