[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-tandem.h
blob981fdfb2d996f24dabce2766b345c1ecadbb7d36
1 /* -*- C++ -*- */
2 // Testing TANDEM
3 // $Id: config-tandem.h 81697 2008-05-14 18:33:11Z johnnyw $
5 // The following configuration file is designed to work for Tandems NonStop-UX
6 // 4.2MP platforms using the NCC 3.20 compiler.
8 // Note this is a test version it might include several errors I
9 // have done a test and set/unset until I errors disappered.
10 // Some of the options that should be set aren't because of the simple fact
11 // that i haven't the time to check what is wrong.
12 // e.g. widecharacter are supported but a wcstok which only take 2 parameters
13 // are included by the compiler, to get the correct wcstok that takes 3 params
14 // we must set _XOPEN_SOURCE and we get ALOT of errors and warnings.
15 // So this config is done to get things to start to work it isn't finished.
16 // Janne (Jan.Perman@osd.Ericsson.se)
18 #ifndef ACE_CONFIG_H
19 #define ACE_CONFIG_H
20 #include /**/ "ace/pre.h"
22 #if ! defined (__ACE_INLINE__)
23 # define __ACE_INLINE__
24 #endif /* ! __ACE_INLINE__ */
26 #define ACE_HAS_IDTYPE_T
27 // Optimize ACE_Handle_Set for select().
28 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
30 // Tandem doesn't include this although they are defined
31 // in sys/time.h and sys/resource.h
32 #define ACE_LACKS_RLIMIT_PROTOTYPE // jjpp
33 // Tandem has a function to set t_errno (set_t_errno)
34 #define ACE_HAS_SET_T_ERRNO // jjpp
36 //Platform supports System V IPC (most versions of UNIX, but not Win32)
37 #define ACE_HAS_SYSV_IPC
39 // OS/compiler omits the const from the sendmsg() prototype.
40 #define ACE_HAS_NONCONST_SENDMSG
42 //Platform supports system configuration information
43 #define ACE_HAS_SYS_SYSTEMINFO_H
44 #define ACE_HAS_SYSINFO
46 //Platform supports the POSIX regular expression library
47 #define ACE_HAS_REGEX
49 // Platform supports recvmsg and sendmsg
50 #define ACE_HAS_MSG
52 //Compiler/platform contains the <sys/syscall.h> file.
53 #define ACE_HAS_SYS_SYSCALL_H
55 //Platform provides <sysent.h> header
56 #define ACE_HAS_SYSENT_H
58 // Platform has POSIX terminal interface.
59 #define ACE_HAS_TERMIOS
61 //Platform supports POSIX O_NONBLOCK semantics
62 #define ACE_HAS_POSIX_NONBLOCK
64 // Compiler/platform has correctly prototyped header files
65 #define ACE_HAS_CPLUSPLUS_HEADERS
67 //Compiler/platform supports alloca()
68 // Although ACE does have alloca() on this compiler/platform combination, it is
69 // disabled by default since it can be dangerous. Uncomment the following line
70 // if you ACE to use it.
71 //#define ACE_HAS_ALLOCA
73 //Compiler/platform has <alloca.h>
74 #define ACE_HAS_ALLOCA_H
76 //Platform contains <poll.h>
77 #define ACE_HAS_POLL
79 // Platform supports the POSIX struct timespec type
80 #define ACE_HAS_POSIX_TIME // As i understand it, but i'm in deep water
81 //Platform supports the SVR4 timestruc_t type
83 // To get this to work a patch in sys/signal must be made
84 // typedef void SIG_FUNC_TYPE(int);
85 //#if defined (__cplusplus)
86 // void (*sa_handler)(int);
87 //#else
88 // ...
89 //#endif
90 //#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
91 #define ACE_HAS_TANDEM_SIGNALS
92 //Compiler/platform defines the sig_atomic_t typedef
93 #define ACE_HAS_SIG_ATOMIC_T
94 //Platform supports SVR4 extended signals
95 #define ACE_HAS_SIGINFO_T
96 //Platform supports ucontext_t (which is used in the extended signal API).
97 #define ACE_HAS_UCONTEXT_T
99 // Platform/compiler has the sigwait(2) prototype
100 #define ACE_HAS_SIGWAIT
102 //Compiler/platform provides the sockio.h file
103 #define ACE_HAS_SYS_SOCKIO_H
105 // Compiler supports the ssize_t typedef
106 #define ACE_HAS_SSIZE_T // Limits.h must be included
108 //Platform supports STREAMS
109 #define ACE_HAS_STREAMS
111 #define ACE_HAS_STREAM_PIPES
112 //Platform supports STREAM pipes
114 //Compiler/platform supports strerror ()
115 #define ACE_HAS_STRERROR
117 //Compiler/platform supports struct strbuf
118 #define ACE_HAS_STRBUF_T
120 //Compiler/platform supports SVR4 dynamic linking semantics
121 #define ACE_HAS_SVR4_DYNAMIC_LINKING
123 //Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff)...
124 #define ACE_HAS_SVR4_TLI
126 //Platform provides <sys/filio.h> header
127 #define ACE_HAS_SYS_FILIO_H
129 //Platform supports TLI timod STREAMS module
130 #define ACE_HAS_TIMOD_H
131 //Platform supports TLI tiuser header
132 #define ACE_HAS_TIUSER_H
134 //Platform supports TLI
135 #define ACE_HAS_TLI
136 //Platform provides TLI function prototypes
137 #define ACE_HAS_TLI_PROTOTYPES
139 //Platform lacks streambuf "linebuffered ()".
140 #define ACE_LACKS_LINEBUFFERED_STREAMBUF
142 // Platform lacks "signed char" type (broken!)
143 #define ACE_LACKS_SIGNED_CHAR
146 #define ACE_PAGE_SIZE 4096
147 // Defines the page size of the system (not used on Win32 or
148 // with ACE_HAS_GETPAGESIZE).
150 /****** THREAD SPECIFIC **********/
151 /* If you want to remove threading then comment out the following four #defines .*/
152 #if !defined (ACE_MT_SAFE)
153 #define ACE_MT_SAFE 1 //Compile using multi-thread libraries
154 #endif
155 #define ACE_HAS_THREADS //Platform supports threads
156 #define ACE_HAS_STHREADS //Platform supports Solaris threads
158 // Compiler/platform has threadspecific storage
159 #define ACE_HAS_THREAD_SPECIFIC_STORAGE
160 //Platform supports thr_keydelete (e.g,. UNIXWARE)
162 #define ACE_HAS_THR_MINSTACK // Tandem uses thr_minstack instead of thr_min_stack
163 #define ACE_LACKS_PRI_T // Tandem lacks pri_t
164 #define ACE_HAS_THR_KEYDELETE
166 //*************************************
168 /*********************************/
170 /******* SIGNAL STUFF *******/
172 //Platform uses non-const char * in calls to gethostbyaddr, gethostbyname,
173 // getservbyname
174 #define ACE_HAS_NONCONST_GETBY
175 // Platform's select() uses non-const timeval* (only found on Linux right now)
176 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
177 // And on Tandem :-)
178 //Uses ctime_r & asctime_r with only two parameters vs. three.
179 #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
180 //Platform has special header for select().
181 #define ACE_HAS_SELECT_H
182 // Platform/compiler supports Standard C++ Library
183 #define ACE_HAS_STANDARD_CPP_LIBRARY
184 //Platform lacks madvise() (e.g., Linux)
185 #define ACE_LACKS_MADVISE
186 //Compiler/platform lacks strcasecmp() (e.g., DG/UX, UNIXWARE, VXWORKS)
187 #define ACE_LACKS_STRCASECMP
189 // Defines the page size of the system.
190 #define ACE_PAGE_SIZE 4096
192 #include /**/ "ace/post.h"
193 #endif /* ACE_CONFIG_H */