Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / ace / config-openbsd.h
blob1a7bee447ea54ebdd7f4edb3057d6218daaca2de
1 /* -*- C++ -*- */
2 // The following configuration file is designed to work for OpenBSD
4 #ifndef ACE_CONFIG_H
5 #define ACE_CONFIG_H
6 #include /**/ "ace/pre.h"
8 #if !defined (ACE_MT_SAFE)
9 # define ACE_MT_SAFE 1
10 #endif
12 // Platform specific directives
13 #include <sys/param.h>
15 #include "ace/config-posix.h"
17 #include "ace/config-g++-common.h"
19 #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
20 #define ACE_HAS_3_PARAM_WCSTOK
21 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
22 #define ACE_HAS_ALLOCA
23 #define ACE_HAS_ALT_CUSERID
24 #define ACE_HAS_AUTOMATIC_INIT_FINI
25 #define ACE_HAS_CHARPTR_DL
26 #define ACE_HAS_CLOCK_GETTIME
27 #define ACE_HAS_CLOCK_SETTIME
28 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
29 #define ACE_HAS_DIRENT
30 #define ACE_HAS_GETIFADDRS
31 #define ACE_HAS_GETPAGESIZE
32 #define ACE_HAS_GETRUSAGE
33 #define ACE_HAS_GPERF
34 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
35 #define ACE_HAS_ICMP_SUPPORT 1
36 #define ACE_HAS_IPV6
37 #define ACE_HAS_IP_MULTICAST
38 #define ACE_HAS_MEMCHR
39 #define ACE_HAS_MKDIR
40 #define ACE_HAS_MSG
41 #define ACE_HAS_NANOSLEEP
42 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
43 #define ACE_HAS_POLL
44 #define ACE_HAS_POSIX_NONBLOCK
45 #define ACE_HAS_POSIX_TIME
46 #define ACE_HAS_PTHREADS_UNIX98_EXT
47 #define ACE_HAS_PTHREAD_GETCONCURRENCY
48 #define ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP
49 #define ACE_HAS_PTHREAD_NP_H
50 #define ACE_HAS_PTHREAD_SETCONCURRENCY
51 #define ACE_HAS_P_READ_WRITE
52 #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS
53 #define ACE_HAS_REENTRANT_FUNCTIONS
54 #define ACE_HAS_RTLD_LAZY_V
55 #define ACE_HAS_SCANDIR
56 #define ACE_HAS_SEMUN
57 #define ACE_HAS_SIGACTION_CONSTP2
58 #define ACE_HAS_SIGINFO_T
59 #define ACE_HAS_SIGSUSPEND
60 #define ACE_HAS_SIGWAIT
61 #define ACE_HAS_SIG_ATOMIC_T
62 #define ACE_HAS_SIG_C_FUNC
63 #define ACE_HAS_SOCKADDR_IN6_SIN6_LEN
64 #define ACE_HAS_SOCKADDR_IN_SIN_LEN
65 #define ACE_HAS_SOCKADDR_MSG_NAME
66 #define ACE_HAS_SOCKLEN_T
67 #define ACE_HAS_SSIZE_T
68 #define ACE_HAS_STRINGS
69 #define ACE_HAS_SVR4_DYNAMIC_LINKING
70 #define ACE_HAS_SVR4_SIGNAL_T
71 #define ACE_HAS_SYSCTL
72 #define ACE_HAS_SYSV_IPC
73 #define ACE_HAS_SYS_FILIO_H
74 #define ACE_HAS_STRSIGNAL
75 #define ACE_HAS_SYS_SOCKIO_H
76 #define ACE_HAS_SYS_SYSCALL_H
77 #define ACE_HAS_TERMIOS
78 #define ACE_HAS_THREAD_SPECIFIC_STORAGE
79 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY
80 #define ACE_HAS_UALARM
81 #define ACE_HAS_VASPRINTF
82 #define ACE_HAS_VOIDPTR_MMAP
83 #define ACE_HAS_VOIDPTR_SOCKOPT
84 #define ACE_HAS_VOID_UNSETENV
85 #define ACE_HAS_WCHAR
86 #define ACE_HAS_XPG4_MULTIBYTE_CHAR
87 #define ACE_HAS_SYS_SIGINFO_H
89 #define ACE_LACKS_CONDATTR_PSHARED
90 #define ACE_LACKS_GETIPNODEBYADDR
91 #define ACE_LACKS_GETIPNODEBYNAME
92 #define ACE_LACKS_ISCTYPE
93 #define ACE_LACKS_MUTEXATTR_PSHARED
94 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS
95 #define ACE_LACKS_SETSCHED
96 #define ACE_LACKS_STROPTS_H
97 #define ACE_LACKS_STRRECVFD
98 #define ACE_LACKS_TIMESPEC_T
99 #define ACE_LACKS_UCONTEXT_H
101 #define ACE_PAGE_SIZE 4096
103 // OpenBSD 3.6
104 #if (OpenBSD < 200411)
105 # define ACE_USES_ASM_SYMBOL_IN_DLSYM
106 #endif
108 // ucontext_t is in OpenBSD 3.5 and later.
109 #if (OpenBSD >= 200405)
110 # define ACE_HAS_UCONTEXT_T
111 #endif /* OpenBSD >= 200405 */
113 // Lacks perfect filtering, must bind group address.
114 #if !defined ACE_LACKS_PERFECT_MULTICAST_FILTERING
115 # define ACE_LACKS_PERFECT_MULTICAST_FILTERING 1
116 #endif /* ACE_LACKS_PERFECT_MULTICAST_FILTERING */
118 #define ACE_SSIZE_T_FORMAT_SPECIFIER_ASCII "%ld"
119 #define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "%lu"
121 #include /**/ "ace/post.h"
123 #endif /* ACE_CONFIG_H */