Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / ace / config-kfreebsd.h
blob6d90672552effd7077b98bd468a02b2ec5a8b034
1 #ifndef ACE_CONFIG_KFREEBSD_H
2 #define ACE_CONFIG_KFREEBSD_H
4 // Make sure system defined macro (not related to ACE_OS::atop)
5 // is not defined during ACE compilation
6 #include <machine/param.h>
7 #undef atop
9 #include "ace/config-g++-common.h"
11 /* Uses ctime_r & asctime_r with only two parameters vs. three. */
12 #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R 1
14 /* Define to 1 if platform has 3 parameter readdir_r() */
15 #define ACE_HAS_3_PARAM_READDIR_R 1
17 /* Define to 1 if platform has 3 parameter wcstok() */
18 #define ACE_HAS_3_PARAM_WCSTOK 1
20 /* Platform has BSD 4.4 sendmsg()/recvmsg() APIs. */
21 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG 1
23 /* Platform supports Asynchronous IO calls */
24 #define ACE_HAS_AIO_CALLS 1
26 /* Use ACE's alternate cuserid() implementation since a system cuserid() may
27 not exist, or it is not desirable to use it. The implementation requires
28 ACE_LACKS_PWD_FUNCTIONS to be undefined and that the geteuid() system call
29 exists. */
30 #define ACE_HAS_ALT_CUSERID 1
32 /* Compiler/platform correctly calls init()/fini() for shared libraries. */
33 #define ACE_HAS_AUTOMATIC_INIT_FINI 1
35 /* Define to 1 if platform has bswap_16(). */
36 #define ACE_HAS_BSWAP_16 1
38 /* Define to 1 if platform has bswap_32(). */
39 #define ACE_HAS_BSWAP_32 1
41 /* Define to 1 if platform has bswap_64(). */
42 #define ACE_HAS_BSWAP_64 1
44 /* Define to 1 if platform has the <byteswap.h> header file. */
45 #define ACE_HAS_BYTESWAP_H 1
47 /* Define to 1 if platform has clock_gettime(). */
48 #define ACE_HAS_CLOCK_GETTIME 1
50 /* Define to 1 if platform has clock_settime(). */
51 #define ACE_HAS_CLOCK_SETTIME 1
53 /* Prototypes for both signal() and struct sigaction are consistent. */
54 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1
56 /* Define to 1 if the system has the type `cpu_set_t'. */
57 #define ACE_HAS_CPU_SET_T 1
59 /* Platform supports operations on directories via struct dirent, readdir_r,
60 etc. */
61 #define ACE_HAS_DIRENT 1
63 /* Compiler supports C++ exception handling. */
64 #define ACE_HAS_EXCEPTIONS 1
66 /* Define to 1 if platform has getifaddrs(). */
67 #define ACE_HAS_GETIFADDRS 1
69 /* Platform supports getpagesize() call (otherwise, ACE_PAGE_SIZE must be
70 defined, except on Win32). */
71 #define ACE_HAS_GETPAGESIZE 1
73 /* Define to 1 if platform has getrusage(). */
74 #define ACE_HAS_GETRUSAGE 1
76 /* Define to 1 if platform has the declaration of getrusage(). */
77 #define ACE_HAS_GETRUSAGE_PROTOTYPE 1
79 /* Denotes that GNU has cstring.h as standard which redefines memchr() */
80 #define ACE_HAS_GNU_CSTRING_H 1
82 /* The GPERF utility is compiled for this platform */
83 #define ACE_HAS_GPERF 1
85 /* Optimize ACE_Handle_Set::count_bits for select() operations (common case)
87 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT 1
89 /* Defined to 1 if platform supports ICMP over raw sockets */
90 #define ACE_HAS_ICMP_SUPPORT 1
92 /* Define to 1 if the system has the type `int16_t'. */
93 #define ACE_HAS_INT16_T 1
95 /* Define to 1 if the system has the type `int32_t'. */
96 #define ACE_HAS_INT32_T 1
98 /* Define to 1 if the system has the type `int64_t'. */
99 #define ACE_HAS_INT64_T 1
101 /* Define to 1 if the system has the type `int8_t'. */
102 #define ACE_HAS_INT8_T 1
104 /* Platform supports IPv6 */
105 #define ACE_HAS_IPV6 1
107 /* Platform supports IP multicast */
108 #define ACE_HAS_IP_MULTICAST 1
110 /* Define to 1 if platform has the declaration of isastream(). */
111 #define ACE_HAS_ISASTREAM_PROTOTYPE 1
113 /* Platform supports lseek64(). This should not be defined if ACE_HAS_LLSEEK
114 is defined. */
115 #define ACE_HAS_LSEEK64 1
117 /* Define to 1 if platform has memchr(). */
118 #define ACE_HAS_MEMCHR 1
120 /* Define to 1 if platform has mkdir(). */
121 #define ACE_HAS_MKDIR 1
123 /* Platform supports recvmsg and sendmsg */
124 #define ACE_HAS_MSG 1
126 /* Compiler supports timed mutex acquisitions (e.g.
127 pthread_mutex_timedlock()). */
128 #define ACE_HAS_MUTEX_TIMEOUTS 1
130 /* Define to 1 if platform has nanosleep(). */
131 #define ACE_HAS_NANOSLEEP 1
133 /* Define to 1 if platform has the <new.h> header file. */
134 #ifdef ACE_HAS_NEW_H
135 #undef ACE_HAS_NEW_H
136 #endif
138 #ifndef ACE_LACKS_NEW_H
139 #define ACE_LACKS_NEW_H 1
140 #endif
142 /* Platform provides new style C++ <new> header */
143 #define ACE_HAS_NEW_NO_H 1
145 /* Platform's select() uses non-const timeval* (only found on Linux right now)
147 #define ACE_HAS_NONCONST_SELECT_TIMEVAL 1
149 /* Platform has swab(char*, char*, ssize_t) variant. */
150 #define ACE_HAS_NONCONST_SWAB 1
152 /* Platform contains <poll.h> */
153 #define ACE_HAS_POLL 1
155 /* Platform supports POSIX O_NONBLOCK semantics */
156 #define ACE_HAS_POSIX_NONBLOCK 1
158 /* Platform supports POSIX real-time semaphores (e.g., VxWorks and Solaris) */
159 #define ACE_HAS_POSIX_SEM 1
161 /* Platform supports the POSIX struct timespec type */
162 #define ACE_HAS_POSIX_TIME 1
164 /* Platform supports the /proc file system and defines tid_t in <sys/procfs.h>
166 #define ACE_HAS_PROC_FS 1
168 /* Define to 1 if platform has POSIX threads */
169 #define ACE_HAS_PTHREADS 1
171 /* Platform has the UNIX98 extensions to Pthreads (rwlocks) */
172 #define ACE_HAS_PTHREADS_UNIX98_EXT 1
174 /* Define to 1 if platform has pthread_getconcurrency(). */
175 #define ACE_HAS_PTHREAD_GETCONCURRENCY 1
177 /* Define to 1 if platform has pthread_mutexattr_setkind_np(). */
178 #define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP 1
180 /* pthread.h declares an enum with PTHREAD_PROCESS_PRIVATE and
181 PTHREAD_PROCESS_SHARED values */
182 #define ACE_HAS_PTHREAD_PROCESS_ENUM 1
184 /* Define to 1 if platform has pthread_setconcurrency(). */
185 #define ACE_HAS_PTHREAD_SETCONCURRENCY 1
187 /* Define to 1 if platform has the declaration of pthread_sigmask(). */
188 #define ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE 1
190 /* Platform has pread() and pwrite() support. */
191 #define ACE_HAS_P_READ_WRITE 1
193 /* Define to 1 to configure Reactor to use a user-space queue for
194 notifications */
195 #define ACE_HAS_REACTOR_NOTIFICATION_QUEUE 1
197 /* Mutexes are inherently recursive (e.g., Win32) */
198 /* #undef ACE_HAS_RECURSIVE_MUTEXES */
200 /* Platform will recurse infinitely on thread exits from TSS cleanup routines
201 (e.g., AIX) */
202 #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS 1
204 /* Platform supports reentrant functions (i.e., all the POSIX *_r functions).
206 #define ACE_HAS_REENTRANT_FUNCTIONS 1
208 /* Define to 1 if platform has sched_getaffinity(). */
209 #define ACE_HAS_SCHED_GETAFFINITY 1
211 /* Define to 1 if platform has sched_setaffinity(). */
212 #define ACE_HAS_SCHED_SETAFFINITY 1
214 /* Platform has shm_open() */
215 #define ACE_HAS_SHM_OPEN 1
217 /* Platform's sigaction() function takes const sigaction* as 2nd parameter */
218 #define ACE_HAS_SIGACTION_CONSTP2 1
220 /* Define to 1 if the system has the type `siginfo_t'. */
221 #define ACE_HAS_SIGINFO_T 1
223 /* Define to 1 if platform has sigsuspend(). */
224 #define ACE_HAS_SIGSUSPEND 1
226 /* Define to 1 if platform has sigtimedwait(). */
227 #define ACE_HAS_SIGTIMEDWAIT 1
229 /* Define to 1 if platform has sigwait(). */
230 #define ACE_HAS_SIGWAIT 1
232 /* Define to 1 if the system has the type 'sig_atomic_t'. */
233 #define ACE_HAS_SIG_ATOMIC_T 1
235 /* Compiler requires extern "C" functions for signals. */
236 #define ACE_HAS_SIG_C_FUNC 1
238 /* Define to 1 if `sin6_len' is a member of `sockaddr_in6'. */
239 #define ACE_HAS_SOCKADDR_IN6_SIN6_LEN 1
241 /* Define to 1 if `sin_len' is a member of `sockaddr_in'. */
242 #define ACE_HAS_SOCKADDR_IN_SIN_LEN 1
244 /* Platform requires (struct sockaddr *) for msg_name field of struct msghdr.
246 #define ACE_HAS_SOCKADDR_MSG_NAME 1
248 /* Define to 1 if the system has the type `socklen_t'. */
249 #define ACE_HAS_SOCKLEN_T 1
251 /* Define to 1 if the system has the type `ssize_t'. */
252 #define ACE_HAS_SSIZE_T 1
254 /* Platform/compiler supports Standard C++ Library */
255 #define ACE_HAS_STANDARD_CPP_LIBRARY 1
257 /* Compiler supports standard C++ template class member specializations */
258 #define ACE_HAS_STD_TEMPLATE_CLASS_MEMBER_SPECIALIZATION 1
260 /* Compiler supports standard C++ template specializations (e.g. "template <>"
261 syntax.) */
262 #define ACE_HAS_STD_TEMPLATE_SPECIALIZATION 1
264 /* Compiler/platform supports struct strbuf */
265 #define ACE_HAS_STRBUF_T 1
267 /* Platform supports STREAMS */
268 #define ACE_HAS_STREAMS 1
270 /* Define to 1 if platform has strerror(). */
271 #define ACE_HAS_STRERROR 1
273 /* Platform has <strings.h> (which contains bzero() prototype) */
274 #define ACE_HAS_STRINGS 1
276 /* Platform/Compiler supports a String class (e.g., GNU or Win32). */
277 #define ACE_HAS_STRING_CLASS 1
279 /* Define to 1 if platform has strnlen(). */
280 #define ACE_HAS_STRNLEN 1
282 /* Compiler/platform supports SVR4 dynamic linking semantics */
283 #define ACE_HAS_SVR4_DYNAMIC_LINKING 1
285 /* Define to 1 if platform has sysctl(). */
286 #define ACE_HAS_SYSCTL 1
288 /* Platform supports System V IPC (most versions of UNIX, but not Win32) */
289 #define ACE_HAS_SYSV_IPC
291 /* Platform/compiler supports _sys_errlist symbol */
292 #define ACE_HAS_SYS_ERRLIST 1
294 /* Define to 1 if platform has the <sys/filio.h> header file. */
295 #define ACE_HAS_SYS_FILIO_H 1
297 /* Compiler/platform supports _sys_siglist array */
298 #define ACE_HAS_SYS_SIGLIST 1
300 /* Define to 1 if platform has the <sys/sockio.h> header file. */
301 #define ACE_HAS_SYS_SOCKIO_H 1
303 /* Define to 1 if platform has the <sys/syscall.h> header file. */
304 #define ACE_HAS_SYS_SYSCALL_H 1
306 /* Define to 1 if system supports POSIX tty API. */
307 #define ACE_HAS_TERMIOS 1
309 /* Platform supports threads. */
310 #define ACE_HAS_THREADS 1
312 /* Compiler/platform has thread-specific storage */
313 #define ACE_HAS_THREAD_SPECIFIC_STORAGE 1
315 /* Define to 1 if platform has global timezone variable */
316 #define ACE_HAS_TIMEZONE 1
318 /* Platform/compiler supports timezone * as second parameter to gettimeofday()
319 and has a prototype. */
320 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY 1
322 /* Compiler supports the C++ typename keyword */
323 #define ACE_HAS_TYPENAME_KEYWORD 1
325 /* Define to 1 if platform has ualarm(). */
326 #define ACE_HAS_UALARM 1
328 /* Define to 1 if the system has the type `ucontext_t'. */
329 #define ACE_HAS_UCONTEXT_T 1
331 /* Define to 1 if the system has the type `uint16_t'. */
332 #define ACE_HAS_UINT16_T 1
334 /* Define to 1 if the system has the type `uint32_t'. */
335 #define ACE_HAS_UINT32_T 1
337 /* Define to 1 if the system has the type `uint64_t'. */
338 #define ACE_HAS_UINT64_T 1
340 /* Define to 1 if the system has the type `uint8_t'. */
341 #define ACE_HAS_UINT8_T 1
343 /* Define to 1 if platform has vasprintf(). */
344 #define ACE_HAS_VASPRINTF 1
346 /* Define to 1 if platform has vfwprintf(). */
347 #define ACE_HAS_VFWPRINTF 1
349 /* Platform requires void * for mmap(). */
350 #define ACE_HAS_VOIDPTR_MMAP 1
352 /* OS/compiler uses void * arg 4 setsockopt() rather than const char * */
353 #define ACE_HAS_VOIDPTR_SOCKOPT 1
355 /* Define to 1 if platform has vswprintf(). */
356 #define ACE_HAS_VSWPRINTF 1
358 /* Platform/compiler supports wchar_t */
359 #define ACE_HAS_WCHAR 1
361 /* Define to 1 if platform has wcsnlen(). */
362 #define ACE_HAS_WCSNLEN 1
364 /* Platform has support for multi-byte character support compliant with the
365 XPG4 Worldwide Portability Interface wide-character classification. */
366 #define ACE_HAS_XPG4_MULTIBYTE_CHAR 1
368 /* Platform has Xt Intrinsics Toolkit */
369 #define ACE_HAS_XT 1
371 /* Define to signed 64 bit integer type */
372 #define ACE_INT64_TYPE signed long long
374 /* Define to the type of arg 2 for `ioctl'. */
375 #define ACE_IOCTL_TYPE_ARG2 int
377 /* Define to 1 if platform lacks getipnodebyaddr(). */
378 #define ACE_LACKS_GETIPNODEBYADDR 1
380 /* Define to 1 if platform lacks getipnodebyname(). */
381 #define ACE_LACKS_GETIPNODEBYNAME 1
383 /* iostream header does not declare ipfx (), opfx (), etc. */
384 #define ACE_LACKS_IOSTREAM_FX 1
386 /* Define to 1 if platform lacks itow(). */
387 #define ACE_LACKS_ITOW 1
389 /* Platform lacks streambuf "linebuffered ()". */
390 #define ACE_LACKS_LINEBUFFERED_STREAMBUF 1
392 /* Platform does not have Motif X toolkit available */
393 #define ACE_LACKS_MOTIF 1
395 /* Platform defines ACE_HAS_MSG, but lacks msg_accrights{len}. */
396 #define ACE_LACKS_MSG_ACCRIGHTS 1
398 /* Platform lacks named POSIX semaphores (e.g., Chorus) */
399 #define ACE_LACKS_NAMED_POSIX_SEM 1
401 /* Compiler complains about use of obsolete "pragma once" */
402 #define ACE_LACKS_PRAGMA_ONCE 1
404 /* Define to 1 if the system lacks the type 'pri_t'. */
405 #define ACE_LACKS_PRI_T 1
407 /* Define to 1 if platform lacks pthread_thr_sigsetmask(). */
408 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1
410 /* Platform lacks readers/writer locks. */
411 #define ACE_LACKS_RWLOCK_T 1
413 /* Define to 1 if platform lacks the <siginfo.h> header file. */
414 #define ACE_LACKS_SIGINFO_H 1
416 /* Define to 1 if platform lacks the <termio.h> header file. */
417 #define ACE_LACKS_TERMIO_H 1
419 /* Define to 1 if platform lacks the declarations of recv_timedwait,
420 send_timedwait, etc. */
421 #define ACE_LACKS_TIMEDWAIT_PROTOTYPES 1
423 /* Platform does not define timepec_t as a typedef for struct timespec. */
424 #define ACE_LACKS_TIMESPEC_T 1
426 /* */
427 #define ACE_LACKS_UNBUFFERED_STREAMBUF 1
429 /* Define to 1 if platform lacks wcsnicmp(). */
430 #define ACE_LACKS_WCSNICMP 1
432 /* Compile using multi-thread libraries */
433 #define ACE_MT_SAFE 1
435 /* Size of the native "double" type */
436 #define ACE_SIZEOF_DOUBLE 8
438 /* Size of the native "float" type */
439 #define ACE_SIZEOF_FLOAT 4
441 /* Size of the native "int" type */
442 #define ACE_SIZEOF_INT 4
444 /* Size of the native "long" type */
445 #define ACE_SIZEOF_LONG 4
447 /* Size of the native "long double" type */
448 #define ACE_SIZEOF_LONG_DOUBLE 12
450 /* Size of the native "long long" type */
451 #define ACE_SIZEOF_LONG_LONG 8
453 /* Size of the native "short" type */
454 #define ACE_SIZEOF_SHORT 2
456 /* Size of the native "pointer to void" type */
457 #define ACE_SIZEOF_VOID_P 4
459 /* Size of the native "wchar_t" type */
460 #define ACE_SIZEOF_WCHAR 4
462 /* Define to unsigned 64 bit integer type */
463 #define ACE_UINT64_TYPE unsigned long long
465 /* Enable IPv6 support on platforms that don't have IPv6 turned on by default
467 #define ACE_USES_IPV4_IPV6_MIGRATION 1
469 /* Platform has its standard C++ library in the namespace std. */
470 #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1
472 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
474 #define HAVE_DIRENT_H 1
476 /* Define to 1 if you have the <dlfcn.h> header file. */
477 #define HAVE_DLFCN_H 1
479 /* Define to 1 if you have the <fstream> header file. */
480 #define HAVE_FSTREAM 1
482 /* Define to 1 if you have the <inttypes.h> header file. */
483 #define HAVE_INTTYPES_H 1
485 /* Define to 1 if you have the <iomanip> header file. */
486 #define HAVE_IOMANIP 1
488 /* Define to 1 if you have the <ios> header file. */
489 #define HAVE_IOS 1
491 /* Define to 1 if you have the <iostream> header file. */
492 #define HAVE_IOSTREAM 1
494 /* Define to 1 if you have the <iostream.h> header file. */
495 /* #undef HAVE_IOSTREAM_H */
497 /* Define to 1 if you have the <istream> header file. */
498 #define HAVE_ISTREAM 1
500 /* Define to 1 if you have the <memory.h> header file. */
501 #define HAVE_MEMORY_H 1
503 /* Define to 1 if you have the <ostream> header file. */
504 #define HAVE_OSTREAM 1
506 /* Define to 1 if you have the <stdint.h> header file. */
507 #define HAVE_STDINT_H 1
509 /* Define to 1 if you have the <stdlib.h> header file. */
510 #define HAVE_STDLIB_H 1
512 /* Define to 1 if you have the <streambuf> header file. */
513 #define HAVE_STREAMBUF 1
515 /* Define to 1 if you have the `strftime' function. */
516 #define HAVE_STRFTIME 1
518 /* Define to 1 if you have the <strings.h> header file. */
519 #define HAVE_STRINGS_H 1
521 /* Define to 1 if you have the <string.h> header file. */
522 #define HAVE_STRING_H 1
524 /* Define to 1 if you have the <sys/stat.h> header file. */
525 #define HAVE_SYS_STAT_H 1
527 /* Define to 1 if you have the <sys/types.h> header file. */
528 #define HAVE_SYS_TYPES_H 1
530 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
531 #define HAVE_SYS_WAIT_H 1
533 /* Define to 1 if you have the <unistd.h> header file. */
534 #define HAVE_UNISTD_H 1
536 /* Define to the sub-directory in which libtool stores uninstalled libraries.
538 #define LT_OBJDIR ".libs/"
540 /* Define to the address where bug reports for this package should be sent. */
541 #define PACKAGE_BUGREPORT "ace-bugs@list.isis.vanderbilt.edu"
543 /* Define to the full name of this package. */
544 #define PACKAGE_NAME "ACE"
546 /* Define to the full name and version of this package. */
547 #define PACKAGE_STRING "ACE 5.6.3"
549 /* Define to the one symbol short name of this package. */
550 #define PACKAGE_TARNAME "ace"
552 /* Define to the home page for this package. */
553 #define PACKAGE_URL ""
555 /* Define to the version of this package. */
556 #define PACKAGE_VERSION "5.6.3"
558 /* The size of `double', as computed by sizeof. */
559 #define SIZEOF_DOUBLE 8
561 /* The size of `float', as computed by sizeof. */
562 #define SIZEOF_FLOAT 4
564 /* The size of `int', as computed by sizeof. */
565 #define SIZEOF_INT 4
567 /* The size of `long', as computed by sizeof. */
568 #define SIZEOF_LONG 4
570 /* The size of `long double', as computed by sizeof. */
571 #define SIZEOF_LONG_DOUBLE 12
573 /* The size of `long long', as computed by sizeof. */
574 #define SIZEOF_LONG_LONG 8
576 /* The size of `short', as computed by sizeof. */
577 #define SIZEOF_SHORT 2
579 /* The size of `signed char', as computed by sizeof. */
580 #define SIZEOF_SIGNED_CHAR 1
582 /* The size of `void *', as computed by sizeof. */
583 #define SIZEOF_VOID_P 4
585 /* The size of `wchar_t', as computed by sizeof. */
586 #define SIZEOF_WCHAR_T 4
588 /* Define to 1 if you have the ANSI C header files. */
589 #define STDC_HEADERS 1
592 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
593 significant byte first (like Motorola and SPARC, unlike Intel). */
594 #if defined AC_APPLE_UNIVERSAL_BUILD
595 # if defined __BIG_ENDIAN__
596 # define WORDS_BIGENDIAN 1
597 # endif
598 #else
599 # ifndef WORDS_BIGENDIAN
600 /* # undef WORDS_BIGENDIAN */
601 # endif
602 #endif
605 /* Enable ACE inlining */
606 #define __ACE_INLINE__ 1
608 #endif /* ACE_CONFIG_KFREEBSD_H */