XEmacs 21.2.31 "Iris".
[chise/xemacs-chise.git.1] / src / s / aix4.h
1 #define AIX4
2
3 #include "aix3-2-5.h"
4
5 /* AIX 4 does not have HFT any more.  */
6 #undef AIXHFT
7
8 #ifndef NOT_C_CODE
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 */
24 struct ether_addr;
25 struct sockaddr_dl;
26 #endif /* C code */
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