comparison src/s/aix4.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 5a2589c672dc
children
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
5 /* AIX 4 does not have HFT any more. */ 5 /* AIX 4 does not have HFT any more. */
6 #undef AIXHFT 6 #undef AIXHFT
7 7
8 #ifndef NOT_C_CODE 8 #ifndef NOT_C_CODE
9 #define _XFUNCS_H_ 1 9 #define _XFUNCS_H_ 1
10
11 /* AIX is happier when bzero and strcasecmp are declared */
12 #include "strings.h"
13
14 /* AIX 4.2's sys/mman.h doesn't seem to define MAP_FAILED,
15 although Unix98 claims it must. */
16 #ifdef HAVE_MMAP
17 #include <sys/mman.h>
18 # ifndef MAP_FAILED
19 # define MAP_FAILED ((void *) -1)
20 # endif
21 #endif
22
23 /* Forward declarations for xlc warning suppressions */ 10 /* Forward declarations for xlc warning suppressions */
24 struct ether_addr; 11 struct ether_addr;
25 struct sockaddr_dl; 12 struct sockaddr_dl;
26 #endif /* C code */ 13 #endif
27
28 /* getaddrinfo is broken in AIX 4.3 as per IY04165.
29 At this time (2/21/2000), there's no PTF available.
30 -- Mike Sperber <mike@xemacs.org> */
31
32 #undef HAVE_GETADDRINFO