[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-lynxos.h
blobc65e9b0f72ac955dd2133b998f00305c326759d2
1 // $Id: config-lynxos.h 81780 2008-05-26 13:56:49Z olli $
3 // The following configuration file is designed to work for LynxOS,
4 // version 4.0.0 and later, using the GNU g++ compiler.
6 #ifndef ACE_CONFIG_H
7 #define ACE_CONFIG_H
8 #include /**/ "ace/pre.h"
10 #if ! defined (__ACE_INLINE__)
11 # define __ACE_INLINE__
12 #endif /* ! __ACE_INLINE__ */
14 #if defined (__GNUG__)
15 # include "ace/config-g++-common.h"
16 #endif /* __GNUG__ */
18 // Compile using multi-thread libraries.
19 #if !defined (ACE_MT_SAFE)
20 # define ACE_MT_SAFE 1
21 #endif
23 #include "ace/config-posix.h"
25 #if defined (__x86__)
26 # define ACE_HAS_PENTIUM
27 #elif defined (__powerpc__)
28 // It looks like the default stack size is 15000.
29 // ACE's Recursive_Mutex_Test needs more.
30 # define ACE_NEEDS_HUGE_THREAD_STACKSIZE 65536
31 // This doesn't work on LynxOS 3.0.0, because it resets the TimeBaseRegister.
32 // # define ACE_HAS_POWERPC_TIMER
33 #endif /* __x86__ || __powerpc__ */
35 #define ACE_DEFAULT_BASE_ADDR ((char *) 0)
36 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
37 #define ACE_HAS_ALLOCA
38 #define ACE_HAS_ALLOCA_H
39 #define ACE_HAS_AUTOMATIC_INIT_FINI
40 #define ACE_HAS_BROKEN_PREALLOCATED_OBJECTS_AFTER_FORK 1
41 #define ACE_HAS_BROKEN_SIGEVENT_STRUCT
42 #define ACE_HAS_CHARPTR_SHMAT
43 #define ACE_HAS_CHARPTR_SHMDT
44 #define ACE_HAS_CLOCK_GETTIME
45 #define ACE_HAS_CLOCK_SETTIME
46 #define ACE_HAS_CPLUSPLUS_HEADERS
47 #define ACE_HAS_DIRENT
48 #define ACE_HAS_GETPAGESIZE
49 #define ACE_HAS_GETRUSAGE
50 #define ACE_HAS_GNU_CSTRING_H
51 #define ACE_HAS_GPERF
52 #define ACE_HAS_ICMP_SUPPORT 1
53 #define ACE_HAS_IP_MULTICAST
54 #define ACE_HAS_LYNXOS_SIGNALS
55 #define ACE_HAS_MSG
56 #define ACE_HAS_NONCONST_CLOCK_SETTIME
57 #define ACE_HAS_NONCONST_MSGSND
58 #define ACE_HAS_NONCONST_READV
59 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
60 #define ACE_HAS_NONCONST_SETRLIMIT
61 #define ACE_HAS_NONCONST_WRITEV
62 #define ACE_HAS_POSIX_NONBLOCK
63 #define ACE_HAS_POSIX_TIME
64 #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS
65 #define ACE_HAS_SCANDIR
66 #define ACE_HAS_SEMUN
67 #define ACE_HAS_SIGINFO_T
68 #define ACE_HAS_SIGTIMEDWAIT
69 #define ACE_HAS_SIGWAIT
70 #define ACE_HAS_SIG_ATOMIC_T
71 #define ACE_HAS_SSIZE_T
72 #define ACE_HAS_STRBUF_T
73 #define ACE_HAS_STREAMS
74 #define ACE_HAS_STRERROR
75 #define ACE_HAS_SYSV_IPC
76 #define ACE_HAS_SYS_SIGLIST
77 #define ACE_HAS_SYS_SOCKIO_H
78 #define ACE_HAS_TERMIOS
79 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY
80 #define ACE_LACKS_ALPHASORT_PROTOTYPE
81 #define ACE_LACKS_CONST_TIMESPEC_PTR
82 #define ACE_LACKS_GETPGID
83 #define ACE_LACKS_MADVISE
84 #define ACE_LACKS_MKSTEMP_PROTOTYPE
85 #define ACE_LACKS_MKTEMP_PROTOTYPE
86 #define ACE_LACKS_PUTENV_PROTOTYPE
87 #define ACE_LACKS_REALPATH
88 #define ACE_LACKS_RLIMIT_NOFILE
89 #define ACE_LACKS_RWLOCK_T
90 #define ACE_LACKS_SCANDIR_PROTOTYPE
91 #define ACE_LACKS_SETEGID
92 #define ACE_LACKS_SETEUID
93 #define ACE_LACKS_SIGINFO_H
94 #define ACE_LACKS_STRPTIME
95 #define ACE_LACKS_SUSECONDS_T
96 #define ACE_LACKS_SWAB_PROTOTYPE
97 #define ACE_LACKS_TIMESPEC_T
98 #define ACE_LACKS_UCONTEXT_H
99 #define ACE_LACKS_USECONDS_T
100 #define ACE_LACKS_VSNPRINTF
101 #define ACE_LACKS_WCHAR_H
102 #define ACE_MALLOC_ALIGN 8
103 #define ACE_PAGE_SIZE 4096
104 #define ACE_POSIX_SIG_PROACTOR
105 #define ACE_SCANDIR_CMP_USES_CONST_VOIDPTR
107 // LynxOS has poll.h but it is unusable since implementation is not provided
108 #define ACE_LACKS_POLL_H
110 #if ACE_MT_SAFE == 1
111 // Platform supports threads.
112 # define ACE_HAS_PTHREADS
113 # define ACE_HAS_THREAD_SPECIFIC_STORAGE
114 # define ACE_LACKS_NULL_PTHREAD_STATUS
115 # define ACE_LACKS_THREAD_PROCESS_SCOPING
116 # define ACE_LACKS_PTHREAD_ATTR_SETSTACK
117 # if ACE_LYNXOS_MAJOR == 4 && ACE_LYNXOS_MINOR == 0
118 # define ACE_LACKS_SETDETACH
119 # define ACE_LACKS_PTHREAD_ATTR_SETSTACKADDR
120 # endif
121 #endif /* ACE_MT_SAFE */
123 #if __GNUC__ < 3
124 # define ACE_LACKS_NUMERIC_LIMITS
125 #endif /* __GNUC__ < 3 */
127 // By default, don't include RCS Id strings in object code.
128 #if !defined (ACE_USE_RCSID)
129 # define ACE_USE_RCSID 0
130 #endif /* ! ACE_USE_RCSID */
132 // System include files are not in sys/, this gets rid of warning.
133 #define __NO_INCLUDE_WARN__
135 // "changes signedness" error (OS.i and many other files)
136 #define ACE_HAS_SOCKLEN_T
137 // LSOCK.cpp uses a macro from param.h, not included
138 #define ALIGNBYTES (sizeof(int) - 1)
139 #define ALIGN(p) (((unsigned)p + ALIGNBYTES) & ~ALIGNBYTES)
141 #if ACE_LYNXOS_MAJOR == 4 && ACE_LYNXOS_MINOR == 0
142 # define ACE_LACKS_GETOPT_PROTOTYPE
143 # define ACE_LACKS_INET_ATON_PROTOTYPE
144 # define ACE_LACKS_REGEX_H
145 # define ACE_LACKS_STRCASECMP_PROTOTYPE
146 # define ACE_LACKS_STRNCASECMP_PROTOTYPE
147 # define ACE_LACKS_SYS_SELECT_H
148 # define ACE_HAS_NONCONST_GETBY
149 #endif
151 #if (ACE_LYNXOS_MAJOR > 4) || (ACE_LYNXOS_MAJOR == 4 && ACE_LYNXOS_MINOR >= 2)
152 // LynxOS 4.2 additons
153 # define ACE_HAS_POSIX_SEM_TIMEOUT
154 # define ACE_HAS_MUTEX_TIMEOUTS
155 #endif
157 #if defined (ACE_HAS_SVR4_DYNAMIC_LINKING)
158 # define ACE_HAS_BROKEN_THREAD_KEYFREE
159 #endif /* ACE_HAS_SVR4_DYNAMIC_LINKING */
161 #include /**/ "ace/post.h"
162 #endif /* ACE_CONFIG_H */