/* ref/config.h -- Configuration and other very global information * Hugh Daniel 88/1/15 (c) Copyright, Grasshopper Group * @(#)$Header: config_aux,v 2.0 88/09/16 01:39:55 eric Release $ */ /* RCS ID */ #define FNDELAY O_NDELAY /* Compile time controls for system dependances */ #define mc68000 /* Things we do have in A/UX */ #define HAVE_SELECT #define HAVE_SOCKETS #define HAVE_BSDSYSTIME /* Useed by psterm & nterm -HD */ #define HAVE_SYSV_TTYS #define HAVE_PUTTULINE #define HAVE_TERMCAP #define HAVE_STRINGS_H /* Things that we dont have #define HAVE_MMAN_H */ #ifndef bcopy #define bcopy(s1, s2, len) { \ register char *s__s = (char *)(s1); \ register char *s__d = (char *)(s2); \ register int n__n; \ if ((n__n = len) > 0 && s__s != s__d) { \ if (s__d < s__s || (s__s + n__n) <= s__d) { \ memcpy(s__d, s__s, n__n); \ } else { \ register char *s__se = s__s + n__n - 1; \ register char *s__de = s__d + n__n - 1; \ do \ *s__de-- = *s__se--; \ while (--n__n); \ }}}; #endif #ifndef bzero #define bzero(s, n) memset(s, '\0', n) #endif #define bcmp(s1, s2, n) memcmp(s1, s2, n) #define srandom(n) srand(n) #define gettimeofday(time, tz) _gettimeofday(time)