Annotation of GNUtools/emacs/src/s-sco.h, revision 1.1.1.1

1.1       root        1: /* Support SCO V 3.2.4 (also called Open Desk Top 2.0) */
                      2: 
                      3: #include "s-usg5-3.h"
                      4: 
                      5: /* Use termios instead of termio, to turn off C-z.  */
                      6: 
                      7: #define HAVE_TCATTR
                      8: 
                      9: /* It's possible for Emcs to suspend itself.  */
                     10: 
                     11: #undef NOMULTIPLEJOBS
                     12: 
                     13: /* The setsid system call exists.  */
                     14: 
                     15: #define HAVE_SETSID
                     16: 
                     17: /* The rename system call exists.  */
                     18: 
                     19: #define HAVE_RENAME
                     20: 
                     21: /* Include ptem.h, not sioctl.h.  */
                     22: 
                     23: #define NO_SIOCTL_H
                     24: #define NEED_PTEM_H
                     25: 
                     26: /* Inhibit macro definition of `signal' in m-intel386.h.  */
                     27: 
                     28: #define DONT_DEFINE_SIGNAL
                     29: 
                     30: /* We cannot get alloca from -lPW because various other symbols
                     31:    in that library conflict with symbols in GCC.  */
                     32: 
                     33: #ifdef __GNUC__
                     34: #define alloca(x) __builtin_alloca (x)
                     35: #else
                     36: #define C_ALLOCA
                     37: #undef HAVE_ALLOCA
                     38: #define STACK_DIRECTION        -1
                     39: #endif /* __GNUC__ */
                     40: 
                     41: /* TIOCWINSZ doesn't work on ptys.  */
                     42: #define BROKEN_TIOCGWINSZ
                     43: 
                     44: /* [email protected] says this causes compilation errors
                     45:    on SCO V.3.2.2.  */
                     46: /* #define HAVE_TIMEVAL */
                     47: 
                     48: #define HAVE_SELECT
                     49: 
                     50: #define HAVE_PTYS
                     51: 
                     52: /* [email protected] says ptys are numbered decimally.  */
                     53: #define PTY_NAME_SPRINTF \
                     54:   sprintf (pty_name, "/dev/ptyp%d", ((c - FIRST_PTY_LETTER) * 16) + i);
                     55: #define PTY_TTY_NAME_SPRINTF \
                     56:   sprintf (pty_name, "/dev/ttyp%d", ((c - FIRST_PTY_LETTER) * 16) + i);
                     57: 
                     58: /* Christoph Badura <[email protected]> says this one is ok.  */
                     59: #define USG_SYS_TIME
                     60: 
                     61: /* Define SCO_SOCKETS if your machie has sockets installed.
                     62:    It is an optional feature in the SCO system.  */
                     63: 
                     64: #ifdef SCO_SOCKETS
                     65: #define HAVE_SOCKETS
                     66: #define LIBS_SYSTEM -lsocket
                     67: #define HAVE_GETTIMEOFDAY
                     68: #define HAVE_TIMEVAL
                     69: #define USE_UTIME
                     70: #endif
                     71: 
                     72: /* These have been suggested, but it's not certain they are right.  */
                     73: #if 0
                     74: #define HAVE_RANDOM
                     75: 
                     76: #define USE_UTIME
                     77: #endif /* 0 */
                     78: 
                     79: 
                     80: #ifdef HAVE_X11
                     81: /* William Smith ([email protected]) said these are needed.  */
                     82: #ifdef LIBS_SYSTEM     /* undef if defined in SCO_SOCKETS */
                     83: #undef LIBS_SYSTEM
                     84: #endif
                     85: #define LIB_X11_LIB    /* kill internal libs (use one below) */
                     86: #define LIBS_SYSTEM -lXm -lXt -lX11 -lsocket -lmalloc -lPW
                     87: #define LIB_STANDARD -lc /* get libPW.a from above */
                     88: 
                     89: #undef C_ALLOCA
                     90: #define HAVE_ALLOCA
                     91: 
                     92: #define BROKEN_FIONREAD
                     93: #define SYSV_STREAMS
                     94: 
                     95: #define select XSelect
                     96: #define HAVE_RANDOM
                     97: #define BSTRING
                     98: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.