diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-08-21 19:08:19 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-08-21 19:08:19 -0700 |
commit | 049932c0171855aa6d55222947f4d47495b6f173 (patch) | |
tree | 6d7f0729dced038a01d1688a46b1a7af9762e401 /Xtrans.c | |
parent | 11391a1ffe4c633507406d2a1ed5abe57c8698db (diff) |
Merge Solaris named pipe transport support into LOCALCONN
Also clean up #ifdefs in Xtranslcl for which transport types are supported
Add "pipe" alias for named pipe transport on Solaris to match Solaris Xlib.
Diffstat (limited to 'Xtrans.c')
-rw-r--r-- | Xtrans.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -80,6 +80,7 @@ from The Open Group. #define TRANS_LOCAL_ISC_INDEX 12 #define TRANS_LOCAL_SCO_INDEX 13 #define TRANS_SOCKET_INET6_INDEX 14 +#define TRANS_LOCAL_PIPE_INDEX 15 static @@ -116,7 +117,9 @@ Xtransport_table Xtransports[] = { #ifdef SVR4 { &TRANS(NAMEDFuncs), TRANS_LOCAL_NAMED_INDEX }, #endif -#ifndef sun +#ifdef sun + { &TRANS(PIPEFuncs), TRANS_LOCAL_PIPE_INDEX }, +#else /* !sun */ #if !defined(__SCO__) && !defined(__UNIXWARE__) { &TRANS(ISCFuncs), TRANS_LOCAL_ISC_INDEX }, #endif |