[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-sunos5.7.h
blob60e1d993a13a5fd5fd51bb4df8744a5e99f42503
1 /* -*- C++ -*- */
2 // $Id: config-sunos5.7.h 80826 2008-03-04 14:51:23Z wotte $
4 // The following configuration file is designed to work for SunOS 5.7
5 // (Solaris 7) platforms using the SunC++ 4.x, 5.x, or g++ compilers.
7 #ifndef ACE_CONFIG_H
9 // ACE_CONFIG_H is defined by one of the following #included headers.
11 // #include the SunOS 5.6 config file, then add SunOS 5.7 updates below.
13 #include "ace/config-sunos5.6.h"
15 // This may be true for earlier Solaris versions, but I can only verify
16 // it for Solaris 7 and later.
17 #define ACE_HAS_VFWPRINTF
18 #if defined (ACE_HAS_SHM_OPEN)
19 # define ACE_SHM_OPEN_REQUIRES_ONE_SLASH
20 #endif
22 // Sun began distributing <sys/loadavg.h> with SunOS 5.7
23 #define ACE_HAS_SYS_LOADAVG_H
25 // SunOS 5.7 has getloadavg()
26 #undef ACE_LACKS_GETLOADAVG
28 #if defined (ghs)
29 // SunOS 5.7's /usr/include/sys/procfs_isa.h needs uint64_t,
30 // but /usr/include/sys/int_types.h doesn't #define it because
31 // _NO_LONGLONG is #
32 # undef ACE_HAS_PROC_FS
33 # undef ACE_HAS_PRUSAGE_T
35 #elif defined (__SUNPRO_CC) && (__SUNPRO_CC <= 0x530)
36 // Wide character methods are in std:: when using SunCC 5.3
37 # define ACE_WCHAR_IN_STD_NAMESPACE
38 #endif /* __GNUG__ || ghs */
40 // SunOS 5.7 supports SCHED_FIFO and SCHED_RR, as well as SCHED_OTHER.
41 #undef ACE_HAS_ONLY_SCHED_OTHER
43 // SunOS 5.7 gets this right . . .
44 #undef ACE_HAS_BROKEN_T_ERROR
46 // And doesn't need to set LWP priorities, as shown by
47 // performance-tests/Misc/preempt.
48 #undef ACE_NEEDS_LWP_PRIO_SET
50 // SunOS 5.7 can support Real-Time Signals and POSIX4 AIO operations
51 // are supported.
53 #if !defined (ACE_HAS_AIO_CALLS)
54 #define ACE_HAS_AIO_CALLS
55 #endif /* !ACE_HAS_AIO_CALLS */
57 #ifdef ACE_HAS_LIMITED_SELECT
58 #undef ACE_HAS_LIMITED_SELECT
59 #endif /* ACE_HAS_LIMITED_SELECT */
61 // SunOS 5.7 has socklen_t
62 #define ACE_HAS_SOCKLEN_T
64 #if defined (__sparcv9)
65 #define _LP64
66 #define ACE_SIZEOF_LONG 8 /* Needed to circumvent compiler bug #4294969 */
67 #endif /* __sparcv9 */
69 #if (defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 == 4)) /* XPG4 or XPG4v2 */
70 // 2 parameter wcstok()
71 #else /* XPG4 or XPG4v2 */
72 # define ACE_HAS_3_PARAM_WCSTOK
73 #endif
75 // Solaris 7 started to support /dev/poll
76 #define ACE_HAS_DEV_POLL
78 #endif /* ACE_CONFIG_H */