summaryrefslogtreecommitdiff
path: root/Xtransint.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2016-01-02 10:49:56 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2016-01-02 10:49:56 +0100
commit5a33ddf5c8de2fc2a4f6f0d57eaa11f8a0e70e4a (patch)
treed33d383468327c0e7d2b408b7d050f58f32e8556 /Xtransint.h
parentf9225fa3747dfc8f15c3a5282141bdb63f0834ee (diff)
parentcc29fbc1fe86ae4dfe2f4eaae7352ea86aa4acac (diff)
Merge remote-tracking branch 'origin/master' into obsd
Diffstat (limited to 'Xtransint.h')
-rw-r--r--Xtransint.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Xtransint.h b/Xtransint.h
index 5ff824d..dd63e27 100644
--- a/Xtransint.h
+++ b/Xtransint.h
@@ -350,7 +350,7 @@ typedef struct _Xtransport_table {
* systems, so they may be emulated.
*/
-#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32)
+#ifdef WIN32
#define READV(ciptr, iov, iovcnt) TRANS(ReadV)(ciptr, iov, iovcnt)
@@ -364,10 +364,10 @@ static int TRANS(ReadV)(
#define READV(ciptr, iov, iovcnt) readv(ciptr->fd, iov, iovcnt)
-#endif /* CRAY || (SYSV && __i386__) || WIN32 || __sxg__ || */
+#endif /* WIN32 */
-#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(sun) || defined(WIN32)
+#ifdef WIN32
#define WRITEV(ciptr, iov, iovcnt) TRANS(WriteV)(ciptr, iov, iovcnt)
@@ -381,7 +381,7 @@ static int TRANS(WriteV)(
#define WRITEV(ciptr, iov, iovcnt) writev(ciptr->fd, iov, iovcnt)
-#endif /* CRAY || WIN32 || __sxg__ */
+#endif /* WIN32 */
static int is_numeric (