Mercurial > hg > xemacs-beta
comparison src/s/aix4.h @ 442:abe6d1db359e r21-2-36
Import from CVS: tag r21-2-36
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:35:02 +0200 |
parents | 3ecd8885ac67 |
children | 3d3049ae1304 |
comparison
equal
deleted
inserted
replaced
441:72a7cfa4a488 | 442:abe6d1db359e |
---|---|
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 | |
10 /* Forward declarations for xlc warning suppressions */ | 23 /* Forward declarations for xlc warning suppressions */ |
11 struct ether_addr; | 24 struct ether_addr; |
12 struct sockaddr_dl; | 25 struct sockaddr_dl; |
13 #endif | 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 |