aboutsummaryrefslogtreecommitdiff
path: root/X11/xtrans/Xtrans.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2009-09-02 19:18:53 +0000
committermarha <marha@users.sourceforge.net>2009-09-02 19:18:53 +0000
commit194c801617c4d6459a2a26b0ba5d8eb2d4f11ebc (patch)
tree595211f06fcf1062bfdc71c56b477904e9c6d188 /X11/xtrans/Xtrans.c
parent7842eeba5f0567175c41728d3eaae59fcbdef7a6 (diff)
downloadvcxsrv-194c801617c4d6459a2a26b0ba5d8eb2d4f11ebc.tar.gz
vcxsrv-194c801617c4d6459a2a26b0ba5d8eb2d4f11ebc.tar.bz2
vcxsrv-194c801617c4d6459a2a26b0ba5d8eb2d4f11ebc.zip
Switched to xtrans-1.2.4.tar.gz
Diffstat (limited to 'X11/xtrans/Xtrans.c')
-rw-r--r--X11/xtrans/Xtrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/X11/xtrans/Xtrans.c b/X11/xtrans/Xtrans.c
index 278651a26..7b18f1097 100644
--- a/X11/xtrans/Xtrans.c
+++ b/X11/xtrans/Xtrans.c
@@ -103,7 +103,7 @@ Xtransport_table Xtransports[] = {
#ifndef sun
{ &TRANS(PTSFuncs), TRANS_LOCAL_PTS_INDEX },
#endif /* sun */
-#ifdef SVR4
+#if defined(SVR4) || defined(__SVR4)
{ &TRANS(NAMEDFuncs), TRANS_LOCAL_NAMED_INDEX },
#endif
#ifdef sun
@@ -1348,7 +1348,7 @@ static int TRANS(WriteV) (XtransConnInfo ciptr, struct iovec *iov, int iovcnt)
#endif /* SYSV && __i386__ || WIN32 || __sxg__ */
-#if defined(_POSIX_SOURCE) || defined(USG) || defined(SVR4) || defined(__SCO__)
+#if defined(_POSIX_SOURCE) || defined(USG) || defined(SVR4) || defined(__SVR4) || defined(__SCO__)
#ifndef NEED_UTSNAME
#define NEED_UTSNAME
#endif