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

Unified Diff: ports/xtrans/nacl.patch

Issue 1260083004: Add needed functions to glibc-compat for pkg (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: fix wrong c++ lib 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
« no previous file with comments | « ports/libxcb/nacl.patch ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/xtrans/nacl.patch
diff --git a/ports/xtrans/nacl.patch b/ports/xtrans/nacl.patch
index e228bc6dd0c487f1c5c9b87508390f8a1ea3c71c..a311b1c1effbc6e7ae6857e325d8182ea26e0589 100644
--- a/ports/xtrans/nacl.patch
+++ b/ports/xtrans/nacl.patch
@@ -1,45 +1,3 @@
-diff --git a/Xtrans.c b/Xtrans.c
---- a/Xtrans.c
-+++ b/Xtrans.c
-@@ -1253,7 +1253,7 @@ TRANS(MakeAllCLTSServerListeners) (char *port, int *partial, int *count_ret,
- */
-
-
--#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32)
-+#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32) || (defined(__native_client__) && defined(_NEWLIB_VERSION))
-
- /*
- * emulate readv
-@@ -1285,7 +1285,7 @@ static int TRANS(ReadV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
-
- #endif /* SYSV && __i386__ || WIN32 || __sxg__ */
-
--#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32)
-+#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32) || (defined(__native_client__) && defined(_NEWLIB_VERSION))
-
- /*
- * emulate writev
-diff --git a/Xtransint.h b/Xtransint.h
---- a/Xtransint.h
-+++ b/Xtransint.h
-@@ -325,7 +325,7 @@ typedef struct _Xtransport_table {
- * systems, so they may be emulated.
- */
-
--#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32)
-+#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32) || (defined(__native_client__) && defined(_NEWLIB_VERSION))
-
- #define READV(ciptr, iov, iovcnt) TRANS(ReadV)(ciptr, iov, iovcnt)
-
-@@ -342,7 +342,7 @@ static int TRANS(ReadV)(
- #endif /* CRAY || (SYSV && __i386__) || WIN32 || __sxg__ || */
-
-
--#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32)
-+#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32) || (defined(__native_client__) && defined(_NEWLIB_VERSION))
-
- #define WRITEV(ciptr, iov, iovcnt) TRANS(WriteV)(ciptr, iov, iovcnt)
-
diff --git a/Xtranslcl.c b/Xtranslcl.c
--- a/Xtranslcl.c
+++ b/Xtranslcl.c
« no previous file with comments | « ports/libxcb/nacl.patch ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698