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 --- Xtrans.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Xtrans.c') diff --git a/Xtrans.c b/Xtrans.c index 19b1828..5d86328 100644 --- a/Xtrans.c +++ b/Xtrans.c @@ -1415,7 +1415,7 @@ TRANS(MakeAllCLTSServerListeners) (const char *port, int *partial, */ -#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(__sun) || defined(WIN32) +#ifdef WIN32 /* * emulate readv @@ -1445,9 +1445,6 @@ static int TRANS(ReadV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt) return total; } -#endif /* SYSV && __i386__ || WIN32 || __sxg__ */ - -#if defined(SYSV) && defined(__i386__) && !defined(__SCO__) && !defined(__sun) || defined(WIN32) /* * emulate writev @@ -1477,7 +1474,7 @@ static int TRANS(WriteV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt) return total; } -#endif /* SYSV && __i386__ || WIN32 || __sxg__ */ +#endif /* WIN32 */ #if defined(_POSIX_SOURCE) || defined(USG) || defined(SVR4) || defined(__SVR4) || defined(__SCO__) -- cgit v1.2.1