summaryrefslogtreecommitdiff
path: root/ACE/ace/config-sunos5.8.h
blob: b78ee27a18723a361fe64a2d5a3beb01e1a333ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* -*- C++ -*- */
// The following configuration file is designed to work for SunOS 5.8
// (Solaris 8) platforms using the SunC++ 4.x, 5.x, 6.x, or g++ compilers.

#ifndef ACE_CONFIG_H

// ACE_CONFIG_H is defined by one of the following #included headers.

// #include the SunOS 5.7 config, then add any SunOS 5.8 updates below.
#include "ace/config-sunos5.7.h"

#undef ACE_WCHAR_IN_STD_NAMESPACE

// This may be true for versions prior to Solaris 8 as well, but I don't
// have any to try it on.
#if !defined (ACE_HAS_TIMEZONE)
#  define ACE_HAS_TIMEZONE
#endif

// The range of thread priorities for 5.8 differs from 5.7 in the
// minimum priority for the SCHED_OTHER policy (i.e.,
// ACE_THR_PRI_OTHER_MIN)
# define ACE_THR_PRI_OTHER_MIN (long) -20

# if defined (_POSIX_PTHREAD_SEMANTICS)
#  ifdef ACE_LACKS_RWLOCK_T
#   undef ACE_LACKS_RWLOCK_T
#  endif /* ACE_LACKS_RWLOCK_T */
# endif /* _POSIX_PTHREAD_SEMANTICS */

// This is no longer the case for Sun 5.9 onwards
# undef ACE_HAS_X86_STAT_MACROS

// gethostbyaddr does not handle IPv6-mapped-IPv4 addresses
#define ACE_HAS_BROKEN_GETHOSTBYADDR_V4MAPPED

#endif /* ACE_CONFIG_H */