Remove ACE_OS::readdir_r
[ACE_TAO.git] / ACE / ace / config-netbsd.h
blobe07fa2b5e637d03388d0ef95c94dedb0d28e1715
1 /* -*- C++ -*- */
2 #ifndef ACE_CONFIG_H
3 #define ACE_CONFIG_H
5 #ifndef ACE_MT_SAFE
6 #define ACE_MT_SAFE 1
7 #endif
9 #if defined (__GNUG__)
10 # include "ace/config-g++-common.h"
11 #endif /* __GNUG__ */
13 #if defined(ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
14 # define ACE_HAS_THREADS 1
15 # define ACE_HAS_PTHREADS 1
16 # define ACE_HAS_PTHREADS_UNIX98_EXT 1
17 # define ACE_HAS_PTHREAD_RESUME_NP 1
18 # define ACE_HAS_PTHREAD_SUSPEND_NP 1
19 # define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1
20 # define ACE_LACKS_PTHREAD_YIELD 1
21 #endif /* ACE_MT_SAFE */
23 #define ACE_HAS_CLOCK_SETTIME 1
24 #define ACE_HAS_CLOCK_GETTIME 1
25 #define ACE_HAS_SETTIMEOFDAY 1
26 #define ACE_HAS_GETTIMEOFDAY 1
27 #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R 1
28 #define ACE_HAS_3_PARAM_WCSTOK 1
29 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG 1
30 #define ACE_HAS_ALT_CUSERID 1
31 #define ACE_HAS_AUTOMATIC_INIT_FINI 1
32 #define ACE_HAS_CLOCK_GETTIME 1
33 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1
34 #define ACE_HAS_DIRENT 1
35 #define ACE_HAS_GETIFADDRS 1
36 #define ACE_HAS_GETPAGESIZE 1
37 #define ACE_HAS_GETPROGNAME 1
38 #define ACE_HAS_GETRUSAGE 1
39 #define ACE_HAS_GETRUSAGE_PROTOTYPE 1
40 #define ACE_HAS_GPERF 1
41 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT 1
42 #define ACE_HAS_IP_MULTICAST 1
43 #define ACE_HAS_MSG 1
44 #define ACE_HAS_NEW_NO_H 1
45 #define ACE_HAS_NONCONST_SELECT_TIMEVAL 1
46 #define ACE_HAS_ONLY_SCHED_OTHER 1
47 #define ACE_HAS_POLL 1
48 #define ACE_HAS_POSIX_NONBLOCK 1
49 #define ACE_HAS_POSIX_TIME 1
50 #define ACE_HAS_P_READ_WRITE 1
51 #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS 1
52 #define ACE_HAS_REENTRANT_FUNCTIONS 1
53 #define ACE_HAS_SCANDIR 1
54 #define ACE_HAS_SETPROGNAME 1
55 #define ACE_HAS_SIGACTION_CONSTP2 1
56 #define ACE_HAS_SIGINFO_T 1
57 #define ACE_HAS_SIGSUSPEND 1
58 #define ACE_HAS_SIGTIMEDWAIT 1
59 #define ACE_HAS_SIGWAIT 1
60 #define ACE_HAS_SIG_ATOMIC_T 1
61 #define ACE_HAS_SIG_C_FUNC 1
62 #define ACE_HAS_SOCKADDR_IN_SIN_LEN 1
63 #define ACE_HAS_SOCKADDR_IN6_SIN6_LEN 1
64 #define ACE_HAS_SOCKADDR_MSG_NAME 1
65 #define ACE_HAS_SOCKLEN_T 1
66 #define ACE_HAS_SSIZE_T 1
67 #define ACE_HAS_STANDARD_CPP_LIBRARY 1
68 #define ACE_HAS_STRINGS 1
69 #define ACE_HAS_STRING_CLASS 1
70 #define ACE_HAS_SVR4_DYNAMIC_LINKING 1
71 #define ACE_HAS_SYSV_IPC
72 #define ACE_HAS_SYS_FILIO_H 1
73 #define ACE_HAS_STRSIGNAL
74 #define ACE_HAS_SYS_SOCKIO_H 1
75 #define ACE_HAS_SYS_SYSCALL_H 1
76 #define ACE_HAS_SYSCTL
77 #define ACE_HAS_TERMIOS 1
78 #define ACE_HAS_THREAD_SPECIFIC_STORAGE 1
79 #define ACE_HAS_TIMEZONE 1
80 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY 1
81 #define ACE_HAS_UALARM 1
82 #define ACE_HAS_UCONTEXT_T 1
83 #define ACE_HAS_VOIDPTR_MMAP 1
84 #define ACE_HAS_VOIDPTR_SOCKOPT 1
85 #define ACE_HAS_WCHAR 1
86 #define ACE_HAS_XPG4_MULTIBYTE_CHAR 1
87 #define ACE_IOCTL_TYPE_ARG2 u_long
88 #define ACE_LACKS_CONDATTR_PSHARED 1
89 #define ACE_LACKS_GETHOSTENT 1
90 #define ACE_LACKS_GETIPNODEBYADDR 1
91 #define ACE_LACKS_GETIPNODEBYNAME 1
92 #define ACE_LACKS_IOSTREAM_FX 1
93 #define ACE_LACKS_ITOW 1
94 #define ACE_LACKS_LINEBUFFERED_STREAMBUF 1
95 #define ACE_LACKS_LOG2 1
96 #define ACE_LACKS_MSG_ACCRIGHTS 1
97 #define ACE_LACKS_MUTEXATTR_PSHARED 1
98 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1
99 #define ACE_LACKS_PERFECT_MULTICAST_FILTERING 1
100 #define ACE_LACKS_PRI_T 1
101 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1
102 #define ACE_LACKS_PTHREAD_YIELD 1
103 #define ACE_LACKS_RWLOCKATTR_PSHARED 1
104 #define ACE_LACKS_RWLOCK_T 1
105 #define ACE_LACKS_SETSCHED 1
106 #define ACE_LACKS_SIGINFO_H 1
107 #define ACE_LACKS_STROPTS_H 1
108 #define ACE_LACKS_STRRECVFD 1
109 #define ACE_LACKS_TIMEDWAIT_PROTOTYPES 1
110 #define ACE_LACKS_TIMESPEC_T 1
111 #define ACE_LACKS_UNBUFFERED_STREAMBUF 1
112 #define ACE_LACKS_WCSDUP 1
113 #define ACE_LACKS_WCSICMP 1
114 #define ACE_LACKS_WCSNICMP 1
115 #define ACE_SCANDIR_CMP_USES_CONST_VOIDPTR 1
116 #define ACE_LACKS_ISCTYPE
118 #if defined(__x86_64__)
119 #define ACE_SIZEOF_DOUBLE 8
120 #define ACE_SIZEOF_FLOAT 4
121 #define ACE_SIZEOF_INT 4
122 #define ACE_SIZEOF_LONG 8
123 #define ACE_SIZEOF_LONG_DOUBLE 16
124 #define ACE_SIZEOF_LONG_LONG 8
125 #define ACE_SIZEOF_SHORT 2
126 #define ACE_SIZEOF_VOID_P 8
127 #define ACE_SIZEOF_WCHAR 4
129 #define ACE_SSIZE_T_FORMAT_SPECIFIER_ASCII "%ld"
130 #define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "%lu"
132 #elif defined(__i386__)
134 #define ACE_SIZEOF_DOUBLE 8
135 #define ACE_SIZEOF_FLOAT 4
136 #define ACE_SIZEOF_INT 4
137 #define ACE_SIZEOF_LONG 4
138 #define ACE_SIZEOF_LONG_DOUBLE 12
139 #define ACE_SIZEOF_LONG_LONG 8
140 #define ACE_SIZEOF_SHORT 2
141 #define ACE_SIZEOF_VOID_P 4
142 #define ACE_SIZEOF_WCHAR 4
144 #else
145 # error unknown CPU architecture
146 #endif
148 #endif /* ACE_CONFIG_H */
150 // Local Variables:
151 // mode:C++
152 // End: