XEmacs 21.2.45 "Thelxepeia".
[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 /* Forward declarations for xlc warning suppressions */
15 struct ether_addr;
16 struct sockaddr_dl;
17
18 #ifdef __xlC__                  /* "eXceLlent C compiler" ?! */
19 #if __xlC__ >= 1200
20 /* IBM's C compiler miscompiles bytecount_to_charcount at high levels
21    of optimization.  From IBM's docs:
22
23    -qstrict turns off the following optimizations:
24
25    Performing code motion and scheduling on computations such as loads
26    and floating-point computations that may trigger an exception. */
27 #pragma option_override (bytecount_to_charcount, "opt(strict,yes)")
28 #endif /* recent IBM C compiler */
29 #endif /* IBM's C compiler */
30
31 #endif /* C code */
32
33 /* getaddrinfo is broken in AIX 4.3 as per IY04165.
34    At this time (2/21/2000), there's no PTF available.
35    -- Mike Sperber <mike@xemacs.org> */
36
37 #undef HAVE_GETADDRINFO