comparison src/s/sol2.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 6265c9c31f53
comparison
equal deleted inserted replaced
441:72a7cfa4a488 442:abe6d1db359e
6 #define USG 6 #define USG
7 #endif 7 #endif
8 8
9 #ifndef USG5_4 9 #ifndef USG5_4
10 #define USG5_4 10 #define USG5_4
11 #endif
12
13 #undef _POSIX_C_SOURCE
14
15 #if OS_RELEASE > 54
16 /* There were some bugs with preprocessor symbol interaction, which
17 were not fixed until 2.5. */
18 #define __EXTENSIONS__ 1
19
20 #undef _XOPEN_SOURCE
21 #define _XOPEN_SOURCE 1
22
23 #undef _XOPEN_SOURCE_EXTENDED
24 #define _XOPEN_SOURCE_EXTENDED 1
25 #endif /* > Solaris 2.4 */
26
27 #if OS_RELEASE >= 57
28 #define HAVE_GETLOADAVG
29 #endif 11 #endif
30 12
31 /* Fix understandable GCC lossage on Solaris 2.6 */ 13 /* Fix understandable GCC lossage on Solaris 2.6 */
32 #if defined(__GNUC__) && OS_RELEASE >= 56 && !defined(NOT_C_CODE) 14 #if defined(__GNUC__) && OS_RELEASE >= 56 && !defined(NOT_C_CODE)
33 15