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

Unified Diff: native_client_sdk/src/libraries/nacl_io/syscalls/socket/setsockopt.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/setsockopt.c
diff --git a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/setsockopt.c b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/setsockopt.c
index e273a411edee5dfeadb21bc37c11c49744947835..302c6a5351fa7cf00c66a60830bd82dbfb8ef436 100644
--- a/native_client_sdk/src/libraries/nacl_io/syscalls/socket/setsockopt.c
+++ b/native_client_sdk/src/libraries/nacl_io/syscalls/socket/setsockopt.c
@@ -5,11 +5,11 @@
#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 setsockopt(int fd, int lvl, int optname, const void* optval,
socklen_t len) {
return ki_setsockopt(fd, lvl, optname, optval, 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