aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/s/isc2-2.h31
1 files changed, 21 insertions, 10 deletions
diff --git a/src/s/isc2-2.h b/src/s/isc2-2.h
index b02f356e97e..b15b15c830c 100644
--- a/src/s/isc2-2.h
+++ b/src/s/isc2-2.h
@@ -15,7 +15,7 @@
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. */
@@ -27,12 +27,21 @@
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
@@ -57,9 +66,11 @@
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