Mercurial > emacs
comparison src/s/isc2-2.h @ 4779:611531d01474
* Added fixes from Karl Berry for ISC-2.2.
(MEMMOVE_MISSING): Define.
(SIGNALS_VIA_CHARACTERS): Define.
(LIB_STANDARD): Do not include -lcposix.
(C_SWITCH_SYSTEM) [__GNUC__]: Do not use -traditional.
author | Brian Fox <bfox@gnu.org> |
---|---|
date | Wed, 22 Sep 1993 18:27:28 +0000 |
parents | d7069bd44885 |
children | 191acacfa1ec |
comparison
equal
deleted
inserted
replaced
4778:76f267188bbd | 4779:611531d01474 |
---|---|
13 nothing. --karl@cs.umb.edu | 13 nothing. --karl@cs.umb.edu |
14 #define HAVE_SOCKETS */ | 14 #define HAVE_SOCKETS */ |
15 | 15 |
16 | 16 |
17 /* This keeps the .cdbx section that gcc puts out when generating | 17 /* This keeps the .cdbx section that gcc puts out when generating |
18 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu*/ | 18 stabs-in-coff output, so Emacs can be debugged. --karl@cs.umb.edu. */ |
19 #define USG_SHARED_LIBRARIES | 19 #define USG_SHARED_LIBRARIES |
20 | 20 |
21 /* We can support lock files. */ | 21 /* We can support lock files. */ |
22 #define CLASH_DETECTION | 22 #define CLASH_DETECTION |
23 #define NO_FCHMOD | 23 #define NO_FCHMOD |
25 #define HAVE_PTYS | 25 #define HAVE_PTYS |
26 #define MAXNAMLEN 512 | 26 #define MAXNAMLEN 512 |
27 #define O_NDELAY O_NONBLOCK | 27 #define O_NDELAY O_NONBLOCK |
28 #define MEMORY_IN_STRING_H | 28 #define MEMORY_IN_STRING_H |
29 | 29 |
30 /* -lcposix is always needed for rename. -lPW is only needed if not gcc. */ | 30 /* Tell gmalloc.c that we don't have memmove (system include files to the |
31 #ifdef __GNUC__ | 31 contrary!). */ |
32 #define LIB_STANDARD -lcposix -lc | 32 #define MEMMOVE_MISSING |
33 #else | 33 |
34 #define LIB_STANDARD -lPW -lcposix -lc | 34 /* Send a signal to a subprocess by "typing" a signal character. */ |
35 #endif | 35 #define SIGNALS_VIA_CHARACTERS |
36 | |
37 /* -lPW is only needed if not using Gcc. We used to include -lcposix here | |
38 for the rename function, but some pepople saus ISC's renames doesn't | |
39 work correctly with Emacs so we use Emacs' emulation instead. */ | |
40 #if defined (__GNUC__) | |
41 # define LIB_STANDARD -lcposix -lc | |
42 #else /* !__GNUC__ */ | |
43 # define LIB_STANDARD -lPW -lc | |
44 #endif /* !__GNUC__ */ | |
36 | 45 |
37 /* mt00@etherm.co.uk says this is needed for process.c. */ | 46 /* mt00@etherm.co.uk says this is needed for process.c. */ |
38 #define USE_UTIME | 47 #define USE_UTIME |
39 | 48 |
40 #define NO_X_DESTROY_DATABASE | 49 #define NO_X_DESTROY_DATABASE |
55 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary | 64 /* Inhibit asm code in netinet/in.h. Strictly speaking, only necessary |
56 when -traditional is being used, but it doesn't hurt to | 65 when -traditional is being used, but it doesn't hurt to |
57 unconditionally define this. */ | 66 unconditionally define this. */ |
58 #define NO_ASM | 67 #define NO_ASM |
59 | 68 |
60 /* The POSIX-ified system headers don't work with GCC. */ | 69 /* -traditional is not necessary if the system header files are fixed to |
61 #ifdef __GNUC__ | 70 define getc and putc in the absence of _POSIX_SOURCE. GCC's from 2.4.4 |
62 #define C_SWITCH_SYSTEM -traditional | 71 on do this. */ |
72 #if !defined (__GNUC__) || __GNUC__ < 2 | |
73 # define C_SWITCH_SYSTEM -traditional | |
63 #endif | 74 #endif |
64 | 75 |
65 /* Some versions of ISC are said to define S_IFLNK even tho | 76 /* Some versions of ISC are said to define S_IFLNK even tho |
66 they don't really support symlinks. */ | 77 they don't really support symlinks. */ |
67 #undef S_IFLNK | 78 #undef S_IFLNK |