Mercurial > emacs
view src/s/isc2-2.h @ 15154:bcc66f4bc5ff
Include string.h.
(HAVE_FREXP, HAVE_FMOD): Macros removed.
(struct timeval, struct timezone, gettimeofday): Declarations removed.
(HAVE_SOCKETS, MAIL_USE_POP, MAIL_USE_SYSTEM_LOCK): Macros defined.
(DIRECTORY_SEP): Use Vdirectory_sep_char.
(EXEC_SUFFIXES): Add .cmd to list of suffixes.
(EXEC_SUFFIXES): Add .cmd to list of suffixes.
> (HAVE_SYS_TIMEB_H, HAVE_SYS_TIME_H, HAVE_UNISTD_H, STDC_HEADERS,
TIME_WITH_SYS_TIME, HAVE_GETTIMEOFDAY, HAVE_CLOSEDIR,
HAVE_LONG_FILE_NAMES, HAVE_BCOPY, HAVE_BCMP, HAVE_LOGB, HAVE_FREXP,
HAVE_FMOD, HAVE_FTIME, HAVE_MKTIME, HAVE_H_ERRNO): New macros.
(access, chdir, chmod, close, creat, ctime, dup, dup2, fopen,
link, mkdir, mktemp, open, pipe, read, rename, rmdir, select,
sleep, unlink, write, spawnve, wait, kill, signal):
Macros redefined from win32_* to sys_*.
[__STDC__]: Define when including direct.h, io.h, stdio.h.
(struct nt_stat): Definition removed.
(stat, st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid,
st_rdev, st_size, st_atime, st_mtime, st_ctime): Macros undefined.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Fri, 03 May 1996 18:50:05 +0000 |
parents | b5239b500b27 |
children | 695cf19ef79e |
line wrap: on
line source
/* system description file for Interactive (ISC) Unix version 2.2 on the 386. */ #include "usg5-3.h" /* select (in -linet) works okay on X ptys, but not on the serial port. karl@cs.umb.edu says that with that select call, subprocesses made by (e.g.) M-x grep don't exit cleanly, they just hang. Similar problems have been observed in ISC 3.0. */ #define BROKEN_SELECT_NON_X /* karl@cs.umb.edu says that ISC's socket support (in -linet) isn't what Emacs needs; it makes interrupt-shell-subjob and the like do nothing. But that appears to have been another manifestation of the broken select, so it should now be safe to define this again. */ #define HAVE_SOCKETS #define NO_SOCKETS_IN_FILE_SYSTEM #define NEED_NET_ERRNO_H /* This keeps the .cdbx section that gcc puts out when generating stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ #define USG_SHARED_LIBRARIES /* We can support lock files. */ #define CLASH_DETECTION #define NO_FCHMOD #define HAVE_PTYS #define MAXNAMLEN 512 #define O_NDELAY O_NONBLOCK #define MEMORY_IN_STRING_H /* Tell gmalloc.c that we don't have memmove (system include files to the contrary!). */ #define MEMMOVE_MISSING /* Send a signal to a subprocess by "typing" a signal character. */ #define SIGNALS_VIA_CHARACTERS /* -lPW is only needed if not using Gcc. We used to include -lcposix here for the rename function, but some people say ISC's rename doesn't work correctly with Emacs so we use Emacs' emulation instead. */ #if defined (__GNUC__) # define LIB_STANDARD_1 -lcposix #else /* !__GNUC__ */ # define LIB_STANDARD_1 -lPW #endif /* !__GNUC__ */ /* LIB_STANDARD_1 is used both here and in LIBS_SYSTEM (the latter for the sake of configure). */ #define LIB_STANDARD LIB_STANDARD_1 -lc #define NO_X_DESTROY_DATABASE /* -linet may be needed to avoid undefined symbols such as gethostname, inet_addr, gethostbyname, socket, connect, ... */ #define LIBS_SYSTEM -linet LIB_STANDARD_1 /* This system has job control. */ #undef NOMULTIPLEJOBS /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary when -traditional is being used, but it doesn't hurt to unconditionally define this. */ #define NO_ASM /* -traditional is not necessary if the system header files are fixed to define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 on do this. */ #if !defined (__GNUC__) || __GNUC__ < 2 # define C_SWITCH_SYSTEM -traditional #endif /* Some versions of ISC are said to define S_IFLNK even tho they don't really support symlinks. */ #undef S_IFLNK