From cc29fbc1fe86ae4dfe2f4eaae7352ea86aa4acac Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 28 Nov 2015 13:04:21 -0800 Subject: Remove support for SysV on x86 platforms other than Solaris & SCO No other x86 SysV platforms have ever been supported in the modular build systems, so we don't need to keep carrying around a bunch of ifdef's for them. Signed-off-by: Alan Coopersmith Reviewed-by: Mark Kettenis --- Xtransint.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Xtransint.h') diff --git a/Xtransint.h b/Xtransint.h index c46596f..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 ( -- cgit v1.2.1