comparison src/s/gnu.h @ 96620:3bea8ede5bd0

* syswait.h: Remove old if 0 code. Do not define WAITTYPE, it was always defined as int. * s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT): * s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT): * s/gnu-linux.h (HAVE_WAIT_HEADER): * s/freebsd.h (HAVE_WAIT_HEADER): * s/bsd-common.h (HAVE_UNION_WAIT): * s/aix4-2.h (HAVE_WAIT_HEADER): * m/mips.h (HAVE_UNION_WAIT): * s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used. (COFF, static): Do not define, they are undefined later in the file. * process.c (update_status): Don't use a union. (status_convert): (sigchld_handler): Use int instead of WAITTYPE. * movemail.c (main): Use int instead of WAITTYPE.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 12 Jul 2008 05:31:23 +0000
parents ddedcecb18ef
children 79121a8f01e3
comparison
equal deleted inserted replaced
96619:029de4e224b6 96620:3bea8ede5bd0
62 /* Use mmap directly for allocating larger buffers. */ 62 /* Use mmap directly for allocating larger buffers. */
63 #ifdef DOUG_LEA_MALLOC 63 #ifdef DOUG_LEA_MALLOC
64 #undef REL_ALLOC 64 #undef REL_ALLOC
65 #endif 65 #endif
66 66
67 #define HAVE_WAIT_HEADER
68 #define WAIT_USE_INT
69 #define HAVE_UNION_WAIT
70
71 /* GNU needs its own crt0, and libc defines data_start. */ 67 /* GNU needs its own crt0, and libc defines data_start. */
72 #define ORDINARY_LINK 68 #define ORDINARY_LINK
73 #define DATA_START ({ extern int data_start; (char *) &data_start; }) 69 #define DATA_START ({ extern int data_start; (char *) &data_start; })
74 70
75 /* GNU now always uses the ELF format. */ 71 /* GNU now always uses the ELF format. */