diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-01-06 02:32:57 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-01-06 02:32:57 +0000 |
commit | f49a1191c772673c5e90499c7c295da6630b1e96 (patch) | |
tree | c4530c12109c00e192eac7191809657966f0c462 /defines.h | |
parent | 0bd4b34c9b76ed5a4cbff74dde09ae0112aefcce (diff) |
- (stevesk) defines.h: determine _PATH_UNIX_X; currently "/tmp/.X11-unix/X%u"
for all platforms except HP-UX, which is "/usr/spool/sockets/X11/%u".
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.75 2001/10/31 22:32:34 djm Exp $ */ +/* $Id: defines.h,v 1.76 2002/01/06 02:32:57 stevesk Exp $ */ /* Necessary headers */ @@ -356,6 +356,16 @@ struct winsize { #define _PATH_XAUTH XAUTH_PATH #endif /* XAUTH_PATH */ +/* derived from XF4/xc/lib/dps/Xlibnet.h */ +#ifndef X_UNIX_PATH +#ifdef __hpux +#define X_UNIX_PATH "/usr/spool/sockets/X11/%u" +#else +#define X_UNIX_PATH "/tmp/.X11-unix/X%u" +#endif +#endif /* X_UNIX_PATH */ +#define _PATH_UNIX_X X_UNIX_PATH + #ifndef _PATH_TTY # define _PATH_TTY "/dev/tty" #endif |