[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-rtems.h
blobe2b4586155971d4aa912404e11a1f70e0126228a
1 /* -*- C -*- */
2 // $Id: config-rtems.h 80826 2008-03-04 14:51:23Z wotte $
4 /* The following configuration file is designed to work for RTEMS
5 platforms using GNU C.
6 */
8 #ifndef ACE_CONFIG_H
9 #define ACE_CONFIG_H
11 #if ! defined (__ACE_INLINE__)
12 #define __ACE_INLINE__
13 #endif /* ! __ACE_INLINE__ */
15 // Needed to make some prototypes visible.
16 // #if ! defined (_GNU_SOURCE)
17 // #define _GNU_SOURCE
18 // #endif /* ! _GNU_SOURCE */
20 // First the machine specific part
21 // There are no known port specific issues with the RTEMS port of ACE.
22 // XXX Pentium and PowerPC have high res timer support in ACE.
24 // Then the compiler specific parts
25 #if defined (__GNUG__)
26 // config-g-common.h undef's ACE_HAS_STRING_CLASS with -frepo, so
27 // this must appear before its #include.
28 # define ACE_HAS_STRING_CLASS
29 # include "ace/config-g++-common.h"
30 #else /* ! __GNUG__ */
31 # ifdef __cplusplus /* Let it slide for C compilers. */
32 # error unsupported compiler in ace/config-rtems.h
33 # endif /* __cplusplus */
34 #endif /* ! __GNUG__ */
36 #include "ace/config-posix.h"
38 // Completely common part :-)
40 #define ACE_HAS_NONSTATIC_OBJECT_MANAGER
42 #define ACE_LACKS_ALPHASORT
43 #define ACE_LACKS_REGEX_H
44 #define ACE_LACKS_STROPTS_H
45 #define ACE_LACKS_DLFCN_H
46 #define ACE_LACKS_SIGINFO_H
47 #define ACE_LACKS_SYS_IPC_H
48 #define ACE_LACKS_SYS_SEM_H
49 #define ACE_LACKS_STRINGS_H
50 #define ACE_LACKS_SYS_SHM_H
51 #define ACE_LACKS_SETEGID
52 #define ACE_LACKS_SETEUID
53 #define ACE_LACKS_POLL_H
54 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
55 #define ACE_LACKS_STRCASECMP
56 #define ACE_LACKS_MKSTEMP
57 #define ACE_LACKS_STRDUP
58 #define ACE_LACKS_STRTOK_R
59 #define ACE_LACKS_RAND_REENTRANT_FUNCTIONS
60 #define ACE_LACKS_REALPATH
61 #define ACE_LACKS_TEMPNAM
63 // Temporarily, enabling this results in compile errors with
64 // rtems 4.6.6.
65 #define ACE_LACKS_WCHAR_H
67 #if !defined (ACE_MT_SAFE)
68 #define ACE_MT_SAFE 1
69 #endif
71 #if ACE_MT_SAFE
72 # define ACE_HAS_THREADS
73 # define ACE_HAS_PTHREADS
74 # define ACE_HAS_THREAD_SPECIFIC_STORAGE
75 # define ACE_HAS_PTHREAD_SCHEDPARAM
76 # define ACE_LACKS_THREAD_PROCESS_SCOPING
77 #else
78 # define ACE_HAS_POSIX_GETPWNAM_R
79 # define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
80 #endif
82 #define ACE_HAS_ALT_CUSERID
83 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
84 #define ACE_HAS_3_PARAM_READDIR_R
85 #define ACE_HAS_CLOCK_GETTIME
86 #define ACE_HAS_CLOCK_SETTIME
87 #define ACE_HAS_DIRENT
88 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
89 #define ACE_HAS_MSG
90 #define ACE_HAS_MT_SAFE_MKTIME
91 #define ACE_HAS_NONCONST_READV
92 #define ACE_HAS_GETPAGESIZE
93 #define ACE_HAS_POSIX_SEM
94 #define ACE_HAS_POSIX_TIME
95 #define ACE_HAS_REENTRANT_FUNCTIONS
96 #define ACE_HAS_SIGACTION_CONSTP2
97 #define ACE_HAS_SIGINFO_T
98 #define ACE_HAS_SIGSUSPEND
99 #define ACE_HAS_SSIZE_T
100 #define ACE_HAS_STRERROR
101 #define ACE_HAS_VOIDPTR_GETTIMEOFDAY
102 #define ACE_HAS_SYS_ERRLIST
103 #define ACE_HAS_SYS_FILIO_H
104 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY
105 #define ACE_LACKS_EXEC
106 #define ACE_LACKS_FILELOCKS
107 #define ACE_LACKS_FORK
108 #define ACE_LACKS_GETPGID
109 #define ACE_LACKS_TIMESPEC_T
110 #define ACE_LACKS_MADVISE
111 #define ACE_LACKS_MMAP
112 #define ACE_LACKS_MPROTECT
113 #define ACE_LACKS_MSYNC
114 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS
115 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK
116 #define ACE_LACKS_READDIR_R
117 #define ACE_LACKS_READLINK
118 #define ACE_LACKS_READV
119 #define ACE_LACKS_RLIMIT
120 #define ACE_LACKS_RLIMIT_PROTOTYPE
121 #define ACE_LACKS_RWLOCK_T
122 #define ACE_LACKS_SBRK
123 #define ACE_LACKS_SEMBUF_T
124 #define ACE_LACKS_SETREUID
125 #define ACE_LACKS_SETREUID_PROTOTYPE
126 #define ACE_LACKS_SETREGID
127 #define ACE_LACKS_SETREGID_PROTOTYPE
128 #define ACE_LACKS_STRPTIME
129 #define ACE_LACKS_STRRECVFD
130 #define ACE_LACKS_SI_ADDR
131 #define ACE_LACKS_SOCKETPAIR
132 #define ACE_LACKS_SYS_MSG_H
133 #define ACE_LACKS_SYSV_SHMEM
134 #define ACE_LACKS_SYSCALL
135 #define ACE_LACKS_UCONTEXT_H
136 #define ACE_HAS_NONCONST_WRITEV
137 #define ACE_LACKS_WRITEV
138 #define ACE_NEEDS_HUGE_THREAD_STACKSIZE 65536
139 #define ACE_NEEDS_SCHED_H
140 #define ACE_HAS_POSIX_NONBLOCK
141 #define ACE_HAS_TERMIOS
143 // rtems 4.7 or higher
144 #if (__RTEMS_MAJOR__ > 4) || (__RTEMS_MAJOR__ == 4 && __RTEMS_MINOR__ > 6)
145 # define ACE_HAS_UALARM
146 #else
147 # define ACE_HAS_NOTSUP_SC_PAGESIZE
148 # define ACE_LACKS_SUSECONDS_T
149 # define ACE_LACKS_INTPTR_T
150 # undef ACE_HAS_SHM_OPEN
151 # undef ACE_HAS_AIO_CALLS
152 #endif
154 // __RTEMS_REVISION__ could also be used but this is broken according
155 // to the rtems people
157 #if !defined (_POSIX_REALTIME_SIGNALS)
158 # define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
159 #endif
161 #if defined (ACE_LACKS_NETWORKING)
162 # include "ace/config-posix-nonetworking.h"
163 #endif
165 #endif /* ACE_CONFIG_H */