diff options
author | Adam Jackson <ajax@redhat.com> | 2008-08-07 10:23:19 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-08-07 10:23:19 -0400 |
commit | 339ddc413559d4cb117a72f87b2a70dae6911c32 (patch) | |
tree | 913f8e391c8ba334794c779367e7aa0d6cdd8387 /Xtrans.h | |
parent | a78b9819cbbbddccb4a6bf364b88ec4f27d25c1f (diff) |
Massive ifdef cleanup, dropping a ton of unsupported platform code.
Diffstat (limited to 'Xtrans.h')
-rw-r--r-- | Xtrans.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -54,11 +54,7 @@ from The Open Group. #include <X11/Xos.h> #ifndef WIN32 -#ifndef Lynx #include <sys/socket.h> -#else -#include <socket.h> -#endif #endif @@ -194,7 +190,7 @@ typedef long BytesReadable_t; #endif -#if defined(WIN32) || (defined(USG) && !defined(CRAY) && !defined(umips) && !defined(MOTOROLA) && !defined(uniosu) && !defined(__sxg__)) +#if defined(WIN32) || defined(USG) /* * TRANS(Readv) and TRANS(Writev) use struct iovec, normally found @@ -208,11 +204,7 @@ struct iovec { }; #else -#ifndef Lynx #include <sys/uio.h> -#else -#include <uio.h> -#endif #endif typedef struct _XtransConnInfo *XtransConnInfo; |