2 // $Id: config-unixware-7.1.0.h 82267 2008-07-08 16:39:19Z jtc $
7 /* ACE configuration header file */
9 /* Include the commong gnu config file */
10 #include "config-g++-common.h"
12 /* For unixware 7.1 && g++ 2.91.57, see if this fixes my problem */
17 /* Define if you have alloca, as a function or macro. */
20 /* Define if you have the strftime function. */
21 #define HAVE_STRFTIME 1
23 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
24 #define HAVE_SYS_WAIT_H 1
26 /* Define if you have the ANSI C header files. */
27 #define STDC_HEADERS 1
29 /* Define if lex declares yytext as a char * by default, not a char[]. */
30 #define YYTEXT_POINTER 1
32 /* Define _REENTRANT if reentrant functions should be used. */
37 #define ACE_HAS_NEW_NO_H 1
38 #define ACE_HAS_STDEXCEPT_NO_H 1
40 #define ACE_THREAD_MIN_PRIORITY 0
41 #if defined (ACE_THREAD_MIN_PRIORITY)
42 # define PTHREAD_MIN_PRIORITY ACE_THREAD_MIN_PRIORITY
43 #endif /* #if defined (ACE_THREAD_MIN_PRIORITY) */
45 #define ACE_THREAD_MAX_PRIORITY 99
46 #if defined (ACE_THREAD_MAX_PRIORITY)
47 # define PTHREAD_MAX_PRIORITY ACE_THREAD_MAX_PRIORITY
48 #endif /* #if defined (ACE_THREAD_MAX_PRIORITY) */
50 /* Specify sizes of given built-in types. If a size isn't defined here,
51 then ace/Basic_Types.h will attempt to deduce the size. */
52 /* #undef ACE_SIZEOF_CHAR */
53 #define ACE_SIZEOF_SHORT 2
54 #define ACE_SIZEOF_INT 4
55 #define ACE_SIZEOF_LONG 4
56 #define ACE_SIZEOF_LONG_LONG 8
57 #define ACE_SIZEOF_VOID_P 4
58 #define ACE_SIZEOF_FLOAT 4
59 #define ACE_SIZEOF_DOUBLE 8
60 #define ACE_SIZEOF_LONG_DOUBLE 12
62 /* Enable ACE inlining */
63 #define __ACE_INLINE__ 1
65 /* OS has priocntl (2) */
66 #define ACE_HAS_PRIOCNTL 1
68 /* Platform has pread() and pwrite() support */
69 #define ACE_HAS_P_READ_WRITE 1
71 /* Compiler/platform supports alloca() */
72 // Although ACE does have alloca() on this compiler/platform combination, it is
73 // disabled by default since it can be dangerous. Uncomment the following line
74 // if you ACE to use it.
75 //#define ACE_HAS_ALLOCA 1
77 /* Compiler/platform correctly calls init()/fini() for shared libraries */
78 #define ACE_HAS_AUTOMATIC_INIT_FINI 1
80 /* Platform doesn't cast MAP_FAILED to a (void *). */
81 /* #undef ACE_HAS_BROKEN_MAP_FAILED */
82 /* Staller: oh yes, let's do this! */
83 #define ACE_HAS_BROKEN_MAP_FAILED
85 /* Prototypes for both signal() and struct sigaction are consistent. */
86 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1
88 /* Platform supports operations on directories via struct dirent,
90 #define ACE_HAS_DIRENT 1
92 /* Compiler supports C++ exception handling */
93 // MM-Graz if ! defined inserted, to prevent warnings, because it is already
94 // defined in config-g++common.h
95 # if !defined (ACE_HAS_EXCEPTIONS)
96 #define ACE_HAS_EXCEPTIONS 1
99 /* Platform supports getpagesize() call (otherwise, ACE_PAGE_SIZE must be
100 defined, except on Win32) */
101 #define ACE_HAS_GETPAGESIZE 1
103 /* Platform supports the getrusage() system call. */
104 #define ACE_HAS_GETRUSAGE 1
106 /* Platform has a getrusage () prototype in sys/resource.h that differs from
107 the one in ace/OS.i. */
108 #define ACE_HAS_GETRUSAGE_PROTOTYPE 1
110 /* Denotes that GNU has cstring.h as standard which redefines memchr() */
111 #define ACE_HAS_GNU_CSTRING_H
113 /* The GPERF utility is compiled for this platform */
114 #define ACE_HAS_GPERF 1
116 /* Optimize ACE_Handle_Set::count_bits for select() operations (common case) */
117 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT 1
119 /* Compiler/platform supports idtype_t. */
120 #define ACE_HAS_IDTYPE_T 1
122 /* Platform supports IP multicast */
123 #define ACE_HAS_IP_MULTICAST 1
125 /* Platform supports thr_keydelete (e.g,. UNIXWARE) */
126 #define ACE_HAS_THR_KEYDELETE 1
128 /* Platform calls thr_minstack() rather than thr_min_stack() (e.g., Tandem). */
129 #define ACE_HAS_THR_MINSTACK 1
131 /* Platform supports recvmsg and sendmsg */
132 #define ACE_HAS_MSG 1
134 /* Platform's select() uses non-const timeval* (only found on Linux right
136 #define ACE_HAS_NONCONST_SELECT_TIMEVAL 1
138 /* Uses ctime_r & asctime_r with only two parameters vs. three. */
139 #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R 1
141 /* Platform is an Intel Pentium microprocessor. */
142 /* There is a problem with the gethrtime() because of (apparently) a problem
143 with the inline assembly instruction. Hopefully there is a way to resolve
144 that with an improvement to the assembler
146 #ifdef ACE_HAS_PENTIUM
147 #undef ACE_HAS_PENTIUM
148 #endif /* ACE_HAS_PENTIUM */
151 /* Platform contains <poll.h> */
152 #define ACE_HAS_POLL 1
154 /* Platform supports POSIX O_NONBLOCK semantics */
155 #define ACE_HAS_POSIX_NONBLOCK 1
157 /* Platform supports the POSIX struct timespec type */
158 #define ACE_HAS_POSIX_TIME 1
160 /* Platform supports the /proc file system and defines tid_t
162 #define ACE_HAS_PROC_FS 1
164 /* Platform supports POSIX Threads */
165 #define ACE_HAS_PTHREADS 1
167 /* pthread.h declares an enum with PTHREAD_PROCESS_PRIVATE and
168 PTHREAD_PROCESS_SHARED values */
169 #define ACE_HAS_PTHREAD_PROCESS_ENUM 1
171 /* Platform will recurse infinitely on thread exits from TSS cleanup routines
173 #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS 1
175 /* Platform supports reentrant functions (i.e., all the POSIX *_r
177 #define ACE_HAS_REENTRANT_FUNCTIONS 1
179 /* Platform has support for multi-byte character support compliant with the
180 XPG4 Worldwide Portability Interface wide-character classification. */
181 #define ACE_HAS_XPG4_MULTIBYTE_CHAR 1
183 /* Platform does not support reentrant netdb functions (getprotobyname_r,
184 getprotobynumber_r, gethostbyaddr_r, gethostbyname_r, getservbyname_r). */
185 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1
187 /* Platform supports the POSIX regular expression library */
188 #define ACE_HAS_REGEX 1
190 /* Platform has special header for select(). */
191 #define ACE_HAS_SELECT_H 1
193 /* Platform has a function to set t_errno (e.g., Tandem). */
194 #define ACE_HAS_SET_T_ERRNO 1
196 /* Platform supports SVR4 extended signals */
197 #define ACE_HAS_SIGINFO_T 1
199 /* Platform/compiler has the sigwait(2) prototype */
200 #define ACE_HAS_SIGWAIT 1
202 /* Compiler/platform defines the sig_atomic_t typedef */
203 #define ACE_HAS_SIG_ATOMIC_T 1
205 /* Platform supports new BSD inet_addr len field. */
206 #define ACE_HAS_SOCKADDR_IN_SIN_LEN 1
208 /* OS/compiler uses size_t * rather than int * for socket lengths */
209 #define ACE_HAS_SIZET_SOCKET_LEN 1
211 /* Compiler/platform provides the sys/sockio.h file */
212 #define ACE_HAS_SYS_SOCKIO_H 1
214 /* Compiler supports the ssize_t typedef */
215 #define ACE_HAS_SSIZE_T 1
217 /* Platform supports UNIX International Threads */
218 #define ACE_HAS_STHREADS 1
220 /* Platform has thr_yield() */
221 #define ACE_HAS_THR_YIELD 1
223 /* Compiler/platform supports struct strbuf */
224 #define ACE_HAS_STRBUF_T 1
226 /* Platform supports STREAMS */
227 #define ACE_HAS_STREAMS 1
229 /* Platform supports STREAM pipes */
230 #define ACE_HAS_STREAM_PIPES 1
232 /* Compiler/platform supports strerror () */
233 #define ACE_HAS_STRERROR 1
235 /* Platform/Compiler supports a String class (e.g., GNU or Win32). */
236 #define ACE_HAS_STRING_CLASS 1
238 /* Platform has <strings.h> (which contains bzero() prototype) */
239 #define ACE_HAS_STRINGS 1
241 /* Platform/compiler supports void * as second parameter to gettimeofday(). */
242 #define ACE_HAS_VOIDPTR_GETTIMEOFDAY 1
244 /* Compiler/platform supports SVR4 dynamic linking semantics */
245 #define ACE_HAS_SVR4_DYNAMIC_LINKING 1
247 /* Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff)... */
248 #define ACE_HAS_SVR4_TLI 1
250 /* Compiler/platform contains the <sys/syscall.h> file. */
251 #define ACE_HAS_SYS_SYSCALL_H 1
253 /* Platform supports system configuration information */
254 #define ACE_HAS_SYS_SYSTEMINFO_H
255 #define ACE_HAS_SYSINFO 1
257 /* Platform supports System V IPC (most versions of UNIX, but not Win32) */
258 #define ACE_HAS_SYSV_IPC 1
260 /* Platform provides <sys/filio.h> header */
261 #define ACE_HAS_SYS_FILIO_H 1
263 /* Platform provides <sys/xti.h> header */
264 #define ACE_HAS_SYS_XTI_H 1
266 /* Platform has POSIX terminal interface. */
267 #define ACE_HAS_TERMIOS 1
269 /* Platform supports threads */
270 #define ACE_HAS_THREADS 1
272 /* Compiler/platform has thread-specific storage */
273 #define ACE_HAS_THREAD_SPECIFIC_STORAGE 1
275 /* Platform supports TLI timod STREAMS module */
276 #define ACE_HAS_TIMOD_H 1
278 /* Platform supports TLI tiuser header */
279 #define ACE_HAS_TIUSER_H 1
281 /* Platform supports TLI. Also see ACE_TLI_TCP_DEVICE. */
282 #define ACE_HAS_TLI 1
284 /* Platform provides TLI function prototypes */
285 #define ACE_HAS_TLI_PROTOTYPES 1
287 /* Platform supports ualarm() */
288 #define ACE_HAS_UALARM 1
290 /* Platform supports ucontext_t (which is used in the extended signal API). */
291 #define ACE_HAS_UCONTEXT_T 1
293 /* Platform has <utime.h> header file */
294 #define ACE_HAS_UTIME 1
296 /* Platform requires void * for mmap(). */
297 #define ACE_HAS_VOIDPTR_MMAP 1
299 /* Platform has XTI (X/Open-standardized superset of TLI). Implies
300 ACE_HAS_TLI but uses a different header file. */
301 #define ACE_HAS_XTI 1
303 /* Platform can not build ace/IOStream{,_T}.cpp. This does not necessarily
304 mean that the platform does not support iostreams. */
305 #define ACE_LACKS_ACE_IOSTREAM 1
307 /* Platform does not have u_longlong_t typedef */
308 #define ACE_LACKS_U_LONGLONG_T 1
310 /* Platform lacks madvise() (e.g., Linux) */
311 #define ACE_LACKS_MADVISE 1
313 /* Platform lacks pri_t (e.g., Tandem NonStop UNIX). */
314 #define ACE_LACKS_PRI_T 1
316 /* Platform lacks pthread_thr_sigsetmask (e.g., MVS, HP/UX, and OSF/1 3.2) */
317 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1
319 /* Platfrom lack pthread_yield() support. */
320 #define ACE_LACKS_PTHREAD_YIELD 1
322 /* Platform lacks readers/writer locks. */
323 #define ACE_LACKS_RWLOCK_T 1
325 /* MIT pthreads platform lacks the timedwait prototypes */
326 #define ACE_LACKS_TIMEDWAIT_PROTOTYPES 1
328 /* Platform does not define timepec_t as a typedef for struct timespec. */
329 #define ACE_LACKS_TIMESPEC_T 1
331 /* Compile using multi-thread libraries */
332 #define ACE_MT_SAFE 1
334 /* Platform needs to #include <sched.h> to get thread scheduling defs. */
335 #define ACE_NEEDS_SCHED_H 1
337 /*********************************************************************/
338 /* Compiler's template mechanim must see source code (i.e., .cpp files). This
339 is used for GNU G++. */
340 /* Staller -> make 0 */
341 // #undef ACE_TEMPLATES_REQUIRE_SOURCE
343 /*********************************************************************/
345 /* The OS/platform supports the poll() event demultiplexor */
346 #define ACE_USE_POLL 1
348 /* Platform has its standard c++ library in the namespace std. */
349 #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1
351 /* The number of bytes in a double. */
352 #define SIZEOF_DOUBLE 8
354 /* The number of bytes in a float. */
355 #define SIZEOF_FLOAT 4
357 /* The number of bytes in a int. */
360 /* The number of bytes in a long. */
361 #define SIZEOF_LONG 4
363 /* The number of bytes in a long double. */
364 #define SIZEOF_LONG_DOUBLE 12
366 /* The number of bytes in a long long. */
367 #define SIZEOF_LONG_LONG 8
369 /* The number of bytes in a short. */
370 #define SIZEOF_SHORT 2
372 /* The number of bytes in a signed char. */
373 #define SIZEOF_SIGNED_CHAR 1
375 /* The number of bytes in a void *. */
376 #define SIZEOF_VOID_P 4
378 /* Define if you have the execv function. */
381 /* Define if you have the execve function. */
382 #define HAVE_EXECVE 1
384 /* Define if you have the execvp function. */
385 #define HAVE_EXECVP 1
387 /* Define if you have the <dirent.h> header file. */
388 #define HAVE_DIRENT_H 1
390 /* Define if you have the <fstream> header file. */
391 #define HAVE_FSTREAM 1
393 /* Define if you have the <iomanip> header file. */
394 #define HAVE_IOMANIP 1
396 /* Define if you have the <iostream> header file. */
397 #define HAVE_IOSTREAM 1
399 /* Define if you have the <pwd.h> header file. */
402 /* Name of package */
403 #define PACKAGE "ace"
405 /* Added by Staller */
406 #define ENUM_BOOLEAN // See file /usr/local/lib/gcc-lib/i486-pc-sysv5/egcs-2.91.60/include/sys/types.h
407 #define howmany(x, y) (((x)+((y)-1))/(y))
408 #define ACE_HAS_BROKEN_T_ERROR // make a nasty warning disappear in OS.i
410 #define __IOCTL_VERSIONED__ // By Carlo!
412 #endif /* ACE_CONFIG_H */