[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-vxworks6.3.h
blob1b7cd4100c3b671bb4da0b7bf109a2e25dae78a9
1 /* -*- C++ -*- */
2 // $Id: config-vxworks6.3.h 81850 2008-06-06 08:39:54Z vzykov $
4 // The following configuration file is designed to work for VxWorks
5 // 6.3 platforms using one of these compilers:
6 // 1) The GNU g++ compiler that is shipped with VxWorks 6.3
8 #ifndef ACE_CONFIG_VXWORKS_6_3_H
9 #define ACE_CONFIG_VXWORKS_6_3_H
10 #include /**/ "ace/pre.h"
12 #if ! defined (VXWORKS)
13 # define VXWORKS
14 #endif /* ! VXWORKS */
16 #if ! defined (ACE_VXWORKS)
17 # define ACE_VXWORKS 0x630
18 #endif /* ! ACE_VXWORKS */
20 #if ! defined (__ACE_INLINE__)
21 # define __ACE_INLINE__
22 #endif /* ! __ACE_INLINE__ */
24 // Compiler-specific configuration.
25 #if defined (__GNUG__)
26 # include "ace/config-g++-common.h"
28 # define ACE_LACKS_IOSTREAM_FX
29 # define ACE_LACKS_LINEBUFFERED_STREAMBUF
31 # if defined (__RTP__) && !defined (_HAS_C9X)
32 // Workaround for the fact that under RTP the log2 method can't be used
33 // without this define set, see TSR560446
34 # if !defined (_C99)
35 # define _C99
36 # endif
37 # endif
39 #elif defined (__DCC__)
40 # define ACE_HAS_STANDARD_CPP_LIBRARY 1
41 # define ACE_TEMPLATES_REQUIRE_SOURCE
42 #else /* ! __GNUG__ && ! ghs && !__DCC__ */
43 # ifdef __cplusplus /* Let it slide for C compilers. */
44 # error unsupported compiler on VxWorks
45 # endif /* __cplusplus */
46 #endif /* ! __GNUG__ && ! ghs */
48 #if !defined __RTP__
49 # if defined (TOOL) && (TOOL == gnu)
50 # if defined (CPU) && (CPU == PPC85XX || CPU == PPC604 || CPU == PPC603)
51 // These PPC's do lack log2 in kernel mode
52 # define ACE_LACKS_LOG2
53 # endif
54 # endif
55 #endif
57 // OS-specific configuration
58 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
59 #define ACE_HAS_NONCONST_GETBY
60 #define ACE_HAS_NONCONST_SWAB
61 #define ACE_LACKS_UNIX_SYSLOG
62 #define ACE_DEFAULT_MAX_SOCKET_BUFSIZ 32768
63 #define ACE_DEFAULT_THREAD_KEYS 16
64 #define ACE_HAS_BROKEN_ACCEPT_ADDR
65 #define ACE_HAS_NONCONST_SENDMSG
66 #define ACE_HAS_NONCONST_WRITEV
67 #define ACE_HAS_CHARPTR_DL
68 #define ACE_HAS_CLOCK_GETTIME
69 #define ACE_HAS_CLOCK_SETTIME
70 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
71 #define ACE_HAS_CPLUSPLUS_HEADERS
72 #define ACE_HAS_DIRENT
73 #define ACE_HAS_DLL 0
74 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
75 #define ACE_HAS_MSG
76 #define ACE_HAS_NONCONST_READV
77 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
78 #define ACE_HAS_NONSTATIC_OBJECT_MANAGER
79 #define ACE_HAS_POSIX_NONBLOCK
80 #define ACE_HAS_POSIX_TIME
81 #define ACE_HAS_REENTRANT_FUNCTIONS
82 #define ACE_HAS_SIGACTION_CONSTP2
83 #define ACE_HAS_SIGINFO_T
84 #define ACE_HAS_SIGWAIT
85 #define ACE_HAS_SIG_ATOMIC_T
86 #define ACE_HAS_SOCKADDR_IN_SIN_LEN
87 #define ACE_HAS_SOCKADDR_IN6_SIN6_LEN
88 #define ACE_HAS_STRERROR
89 #define ACE_HAS_THREADS
90 #define ACE_HAS_SYSCTL
91 #define ACE_LACKS_ALPHASORT
92 #define ACE_LACKS_EXEC
93 #define ACE_LACKS_FILELOCKS
94 #define ACE_LACKS_FORK
95 #define ACE_LACKS_GETHOSTENT
96 #define ACE_LACKS_GETSERVBYNAME
97 #define ACE_LACKS_GETPROTOBYNAME
98 #define ACE_LACKS_GETPROTOBYNUMBER
99 #define ACE_LACKS_GETIPNODEBYADDR
100 #define ACE_LACKS_GETIPNODEBYNAME_IPV6
101 #define ACE_LACKS_LSTAT
102 #define ACE_LACKS_MADVISE
103 #define ACE_LACKS_MALLOC_H
104 #define ACE_LACKS_MEMORY_H
105 #define ACE_LACKS_MKFIFO
106 #define ACE_LACKS_MKTEMP
107 #define ACE_LACKS_MKSTEMP
108 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS
109 #define ACE_LACKS_SYS_PARAM_H
110 #define ACE_LACKS_PWD_FUNCTIONS
111 #define ACE_LACKS_READDIR_R
112 #define ACE_LACKS_READLINK
113 #define ACE_LACKS_REALPATH
114 #define ACE_LACKS_PIPE
115 #define ACE_LACKS_RLIMIT
116 #define ACE_LACKS_RWLOCK_T
117 #define ACE_LACKS_SBRK
118 #define ACE_LACKS_SEEKDIR
119 #define ACE_LACKS_SEMBUF_T
120 #define ACE_LACKS_SIGINFO_H
121 #define ACE_LACKS_SI_ADDR
122 #define ACE_LACKS_SOCKETPAIR
123 #define ACE_LACKS_STRRECVFD
124 #define ACE_LACKS_SYSV_SHMEM
125 #define ACE_LACKS_TELLDIR
126 #define ACE_LACKS_TEMPNAM
127 #define ACE_LACKS_TIMESPEC_T
128 #define ACE_LACKS_TRUNCATE
129 #define ACE_LACKS_UCONTEXT_H
130 #define ACE_LACKS_USECONDS_T
131 #define ACE_LACKS_UMASK
132 #define ACE_LACKS_STRPTIME
133 #define ACE_PAGE_SIZE 4096
134 #define ACE_THR_PRI_FIFO_DEF 101
135 #define ACE_THR_PRI_OTHER_DEF ACE_THR_PRI_FIFO_DEF
136 #define ACE_HAS_SIGTIMEDWAIT
137 #define ACE_HAS_SIGSUSPEND
138 #define ACE_HAS_GETIFADDRS
140 #define ACE_LACKS_SETEGID
141 #define ACE_LACKS_SETPGID
142 #define ACE_LACKS_SETREGID
143 #define ACE_LACKS_SETREUID
144 #define ACE_LACKS_SETSID
145 #define ACE_LACKS_SETUID
146 #define ACE_LACKS_SETEUID
147 #define ACE_LACKS_GETEUID
148 #define ACE_LACKS_GETUID
149 #define ACE_LACKS_GETPGID
150 #define ACE_LACKS_GETEGID
151 #define ACE_LACKS_GETGID
152 #define ACE_LACKS_SETGID
154 #define ACE_LACKS_SYS_UIO_H
155 #define ACE_LACKS_SYS_IPC_H
156 #define ACE_LACKS_SYS_SEM_H
157 #define ACE_LACKS_STROPTS_H
158 #define ACE_LACKS_SYS_MSG_H
159 #define ACE_LACKS_PWD_H
160 #define ACE_LACKS_SYS_SHM_H
161 #define ACE_LACKS_TERMIOS_H
162 #define ACE_LACKS_POLL_H
163 #define ACE_LACKS_FCNTL
165 // Some string things
166 #define ACE_LACKS_ITOW
167 #define ACE_LACKS_WCSDUP
168 #define ACE_LACKS_WCSICMP
169 #define ACE_LACKS_WCSNICMP
170 #define ACE_LACKS_STRTOULL
171 #define ACE_LACKS_WCSTOULL
173 #define ACE_HAS_CHARPTR_SOCKOPT
174 #define ACE_LACKS_SYMLINKS
176 #if defined __RTP__
177 // We are building for RTP mode
178 #if !defined (ACE_AS_STATIC_LIBS)
179 # define ACE_HAS_SVR4_DYNAMIC_LINKING
180 #endif
181 #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
182 #define ACE_LACKS_REGEX_H
183 #define ACE_LACKS_PUTENV
184 #define ACE_HAS_SETENV
185 #define ACE_HAS_3_PARAM_WCSTOK
186 #define ACE_HAS_WCHAR
187 #define ACE_HAS_VFWPRINTF
188 #define ACE_SIZEOF_WCHAR 2
189 #define ACE_HAS_SHM_OPEN
190 #if defined (ACE_AS_STATIC_LIBS)
191 # define ACE_HAS_AIO_CALLS
192 #endif
193 #define ACE_LACKS_STRCASECMP
194 // VxWorks seems to either not define this or define as zero up till now
195 #if !defined (IOV_MAX) || (IOV_MAX == 0)
196 #define ACE_IOV_MAX 16
197 #endif
198 #else
199 // We are building for kernel mode
200 #define ACE_LACKS_SUSECONDS_T
201 #define ACE_LACKS_INTPTR_T
202 #define ACE_LACKS_INTTYPES_H
203 #define ACE_LACKS_STDINT_H
204 #define ACE_LACKS_UNAME
205 #define ACE_LACKS_UTSNAME_T
206 #define ACE_LACKS_RAND_REENTRANT_FUNCTIONS
207 #define ACE_LACKS_DLFCN_H
208 #define ACE_LACKS_WAIT
209 #define ACE_LACKS_WAITPID
210 #define ACE_LACKS_SYS_TIME_H
211 #define ACE_LACKS_SYS_SELECT_H
212 #define ACE_MKDIR_LACKS_MODE
213 #define ACE_HAS_SIZET_PTR_ASCTIME_R_AND_CTIME_R
214 #define ACE_LACKS_SEARCH_H
215 #define ACE_LACKS_SYSCONF
216 #define ACE_LACKS_GETPID
217 #define ACE_LACKS_GETPPID
218 #define ACE_LACKS_WCHAR_H
219 #define ACE_LACKS_WCTYPE_H
220 #define ACE_LACKS_WCSCAT
221 #define ACE_LACKS_WCSCHR
222 #define ACE_LACKS_WCSCMP
223 #define ACE_LACKS_WCSCPY
224 #define ACE_LACKS_WCSCSPN
225 #define ACE_LACKS_WCSLEN
226 #define ACE_LACKS_WCSNCAT
227 #define ACE_LACKS_WCSNCMP
228 #define ACE_LACKS_WCSNCPY
229 #define ACE_LACKS_WCSPBRK
230 #define ACE_LACKS_WCSRCHR
231 #define ACE_LACKS_WCSSPN
232 #define ACE_LACKS_WCSSTR
233 #define ACE_LACKS_WCSTOK
234 #define ACE_LACKS_TOWLOWER
235 #define ACE_LACKS_TOWUPPER
236 #define ACE_LACKS_WCSTOD
237 #define ACE_LACKS_WCSTOL
238 #define ACE_LACKS_WCSTOUL
239 #define ACE_LACKS_FGETWC
240 #define ACE_LACKS_FGETWS
241 #define ACE_LACKS_FPUTWS
242 #define ACE_HAS_IOCTL_INT_3_PARAM
243 #define ACE_LACKS_MMAP
244 #define ACE_LACKS_MSYNC
245 #define ACE_LACKS_MPROTECT
246 #if !defined (ACE_MAIN)
247 # define ACE_MAIN ace_main
248 #endif /* ! ACE_MAIN */
249 #endif
251 // It is possible to enable pthread support with VxWorks, when the user decides
252 // to use this, we need some more defines
253 #if defined ACE_HAS_PTHREADS
254 # define ACE_HAS_THREAD_SPECIFIC_STORAGE
255 # define ACE_HAS_POSIX_SEM
256 # define ACE_LACKS_MUTEXATTR_PSHARED
257 # define ACE_LACKS_CONDATTR_PSHARED
258 // Include this file, the sys/stat.h file shipped with VxWorks has old types
259 // and without this include we get a lot of compile errors. A TSR has been filed
260 // so that hopefully in the future we can zap this include
261 #include "types/vxTypesOld.h"
262 #else
263 # define ACE_LACKS_PTHREAD_H
264 # define ACE_HAS_VXTHREADS
265 # if !defined __RTP__
266 // Only when building for kernel mode we can use TSS emulation, in rtp mode
267 // we can't use the WIND_TCB struct anymore
268 # define ACE_HAS_TSS_EMULATION
269 # if !defined (ACE_VXWORKS_SPARE)
270 # define ACE_VXWORKS_SPARE spare4
271 # endif /* ! ACE_VXWORKS_SPARE */
272 # endif
273 // VxWorks has no recursive mutexes. This was set in the past but it doesn't
274 // work with the pthread support, so only set it for the time being when pthread
275 // is disabled
276 # define ACE_HAS_RECURSIVE_MUTEXES
277 # define ACE_LACKS_COND_T
278 # define ACE_HAS_MUTEX_TIMEOUTS
279 #endif
281 #if !defined (ACE_MT_SAFE)
282 # define ACE_MT_SAFE 1
283 #endif
285 // Needed include to get all VxWorks CPU types
286 #include "types/vxCpu.h"
287 #if defined (CPU) && (CPU == PENTIUM || CPU == PENTIUM2 || CPU == PENTIUM3 || CPU == PENTIUM4)
288 // If running an Intel Pentium the
289 // ACE_OS::gethrtime () can use the RDTSC instruction.
290 # define ACE_HAS_PENTIUM
291 #endif
293 // VxWorks defines the CPU define MAP, undef it to prevent problems with
294 // application code
295 #if defined (MAP)
296 #undef MAP
297 #endif /* MAP */
299 #if !defined (ACE_NEEDS_HUGE_THREAD_STACKSIZE)
300 # define ACE_NEEDS_HUGE_THREAD_STACKSIZE 65536
301 #endif /* ACE_NEEDS_HUGE_THREAD_STACKSIZE */
303 #if !defined (ACE_NTRACE)
304 # define ACE_NTRACE 1
305 #endif /* ACE_NTRACE */
307 // By default, don't include RCS Id strings in object code.
308 #if !defined (ACE_USE_RCSID)
309 #define ACE_USE_RCSID 0
310 #endif /* !ACE_USE_RCSID */
312 #if defined (ACE_HAS_IP_MULTICAST)
313 # define ACE_LACKS_PERFECT_MULTICAST_FILTERING 1
314 #endif /* ACE_HAS_IP_MULTICAST */
316 #include /**/ "ace/post.h"
317 #endif /* ACE_CONFIG_VXWORKS_6_3_H */