comparison src/s/isc3-0.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 376386a54a3c
children 6330739388db
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
14 /* We indirectly #include s/usg5-3.h, which says to use libX11_s and 14 /* We indirectly #include s/usg5-3.h, which says to use libX11_s and
15 libc_s. Martin Tomes <mt00@controls.eurotherm.co.uk> says that ISC 15 libc_s. Martin Tomes <mt00@controls.eurotherm.co.uk> says that ISC
16 has no libX11_s, and that linking with libc_s causes sbrk not to work. */ 16 has no libX11_s, and that linking with libc_s causes sbrk not to work. */
17 #undef LIB_X11_LIB 17 #undef LIB_X11_LIB
18 #undef LIBX11_SYSTEM 18 #undef LIBX11_SYSTEM
19 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s 19 #define LIBX11_SYSTEM "-lpt -lnls -lnsl_s"
20 20
21 /* TIOCGWINSZ isn't broken; you just have to know where to find it. */ 21 /* TIOCGWINSZ isn't broken; you just have to know where to find it. */
22 #undef BROKEN_TIOCGWINSZ 22 #undef BROKEN_TIOCGWINSZ
23 #define NEED_SIOCTL 23 #define NEED_SIOCTL
24 24
25 /* We need either _XOPEN_SOURCE or _POSIX_SOURCE to import the posix 25 /* We need either _XOPEN_SOURCE or _POSIX_SOURCE to import the posix
26 signal symbols; might as well use _XOPEN_SOURCE. Defining _SYSV3 26 signal symbols; might as well use _XOPEN_SOURCE. Defining _SYSV3
27 ensures that we don't lose the traditional symbols as a side effect 27 ensures that we don't lose the traditional symbols as a side effect
28 from this or __STDC__ being defined. */ 28 from this or __STDC__ being defined. */
29 #define C_SWITCH_SYSTEM -D_XOPEN_SOURCE -D_SYSV3 29 #define C_SWITCH_SYSTEM "-D_XOPEN_SOURCE -D_SYSV3"
30 30
31 #ifdef __GNUC__ /* Currently we use -lcposix only with gcc */ 31 #ifdef __GNUC__ /* Currently we use -lcposix only with gcc */
32 /* This works around a bug in ISC 4.0 and 3.0; it fails 32 /* This works around a bug in ISC 4.0 and 3.0; it fails
33 to clear the "POSIX process" flag on an exec. 33 to clear the "POSIX process" flag on an exec.
34 It won't be needed for 4.1. */ 34 It won't be needed for 4.1. */