Revert to Current Include Style
[ACE_TAO.git] / ACE / ace / config-macosx-tiger.h
blob24c6e2d391725561445b7f83d0e16ae23c15ad93
1 /* -*- C++ -*- */
2 // This configuration file is designed to work with the MacOS X operating system.
4 #ifndef ACE_CONFIG_MACOSX_TIGER_H
5 #define ACE_CONFIG_MACOSX_TIGER_H
7 #if ! defined (__ACE_INLINE__)
8 #define __ACE_INLINE__
9 #endif /* ! __ACE_INLINE__ */
11 #if !defined (ACE_SIZEOF_LONG_DOUBLE)
12 # define ACE_SIZEOF_LONG_DOUBLE 16
13 #endif // ACE_SIZEOF_LONG_DOUBLE
15 #if defined (__GNUG__)
16 # include "ace/config-g++-common.h"
17 #endif /* __GNUG__ */
19 #define ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR
21 #define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "%lu"
23 #if !defined (__i386__)
24 # if defined (ACE_HAS_PENTIUM)
25 # undef ACE_HAS_PENTIUM
26 # endif /* ACE_HAS_PENTIUM */
27 #else // __i386__
28 # define ACE_HAS_PENTIUM
29 #endif //__i386__
31 #if !defined (_THREAD_SAFE)
32 #define _THREAD_SAFE
33 #endif /* _THREAD_SAFE */
35 #define ACE_HAS_GPERF
36 #define ACE_HAS_POSIX_SEM
38 #define ACE_HAS_SUNOS4_GETTIMEOFDAY
40 #define ACE_LACKS_STROPTS_H
42 // Wcharness....
43 #define ACE_HAS_WCHAR
44 #define ACE_SIZEOF_WCHAR 4
47 #define ACE_HAS_3_PARAM_WCSTOK
48 #define ACE_LACKS_ITOW
49 #define ACE_LACKS_WCSICMP
50 #define ACE_LACKS_WCSNICMP
51 #define ACE_LACKS_WCSDUP
53 // Mac lacks the following pthread features
54 #define ACE_LACKS_MUTEXATTR_PSHARED
55 #define ACE_LACKS_CONDATTR_PSHARED
57 // Compiler/platform defines the sig_atomic_t typedef.
58 #define ACE_HAS_SIG_ATOMIC_T
60 // Compiler/platform supports SVR4 signal typedef
61 #define ACE_HAS_SVR4_SIGNAL_T
63 //Platform/compiler has the sigwait(2) prototype
64 #define ACE_HAS_SIGWAIT
66 #define ACE_HAS_AIO_CALLS
68 //Platform supports sigsuspend()
69 #define ACE_HAS_SIGSUSPEND
71 #define ACE_LACKS_GETPGID
72 #define ACE_LACKS_RWLOCK_T
74 // Optimize ACE_Handle_Set for select().
75 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
77 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
79 #define ACE_NEEDS_SCHED_H
81 #define ACE_LACKS_MALLOC_H
83 #define ACE_HAS_ALT_CUSERID
85 // Platform supports POSIX timers via struct timespec.
86 #define ACE_HAS_POSIX_TIME
87 #define ACE_HAS_UALARM
89 // Platform defines struct timespec but not timespec_t
90 #define ACE_LACKS_TIMESPEC_T
92 #define ACE_LACKS_STRRECVFD
94 #define ACE_HAS_SOCKADDR_IN6_SIN6_LEN
96 // Platform supports System V IPC (most versions of UNIX, but not Win32)
97 #define ACE_HAS_SYSV_IPC
99 // Compiler/platform contains the <sys/syscall.h> file.
100 #define ACE_HAS_SYS_SYSCALL_H
102 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
104 // Compiler/platform supports alloca().
105 // Although ACE does have alloca() on this compiler/platform combination, it is
106 // disabled by default since it can be dangerous. Uncomment the following line
107 // if you ACE to use it.
108 //#define ACE_HAS_ALLOCA
110 // Compiler/platform correctly calls init()/fini() for shared libraries.
111 #define ACE_HAS_AUTOMATIC_INIT_FINI
113 // platform supports POSIX O_NONBLOCK semantics
114 #define ACE_HAS_POSIX_NONBLOCK
116 // platform supports IP multicast
117 #define ACE_HAS_IP_MULTICAST
118 #define ACE_LACKS_PERFECT_MULTICAST_FILTERING 1
120 // Compiler/platform has the getrusage() system call.
121 #define ACE_HAS_GETRUSAGE
123 // Compiler supports the ssize_t typedef.
124 #define ACE_HAS_SSIZE_T
126 // Compiler/platform provides the sockio.h file.
127 #define ACE_HAS_SYS_SOCKIO_H
129 // Compiler/platform provides the socklen_t type.
130 #define ACE_HAS_SOCKLEN_T
132 // Defines the page size of the system.
133 #define ACE_HAS_GETPAGESIZE
135 // Platform provides <sys/filio.h> header.
136 #define ACE_HAS_SYS_FILIO_H
138 // Platform/compiler supports timezone * as second parameter to gettimeofday().
139 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY
141 #define ACE_LACKS_SYS_MSG_H
142 #define ACE_LACKS_SYSV_MSQ_PROTOS
143 #define ACE_HAS_MSG
144 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
145 #define ACE_HAS_NONCONST_MSGSND
147 #if !defined (ACE_MT_SAFE)
148 # define ACE_MT_SAFE 1
149 #endif
151 #if ACE_MT_SAFE == 1
152 // Yes, we do have threads.
153 # define ACE_HAS_THREADS
154 // And they're even POSIX pthreads
155 # define ACE_HAS_PTHREADS
156 # define ACE_HAS_PTHREAD_SCHEDPARAM
157 # define ACE_HAS_THREAD_SPECIFIC_STORAGE
158 #endif /* ACE_MT_SAFE == 1 */
160 #define ACE_LACKS_THREAD_PROCESS_SCOPING
162 #define ACE_HAS_DIRENT
163 #define ACE_LACKS_POLL_H
164 #define ACE_LACKS_SEARCH_H
166 #define ACE_LACKS_SETSCHED
167 //#define ACE_HAS_RECURSIVE_MUTEXES
169 // Platform has POSIX terminal interface.
170 #define ACE_HAS_TERMIOS
172 #define ACE_HAS_SEMUN
173 #define ACE_HAS_SIGINFO_T
174 #define ACE_LACKS_SIGINFO_H
175 #define ACE_HAS_UCONTEXT_T
176 #define ACE_HAS_GETIFADDRS
177 #define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES
178 #define ACE_LACKS_UNNAMED_SEMAPHORE
180 // dlcompat package (not part of base Darwin) is needed for dlopen().
181 // You may download directly from sourceforge and install or use fink
182 // Fink installer puts libraries in /sw/lib and headers in /sw/include
183 // In order to install dlcompat do the following:
184 // - download fink from http://fink.sf.net
185 // - type:
186 // fink install dlcompat
187 // as of Dec 2002, if you use fink you will need to uncomment the next line
188 // #define ACE_NEEDS_DL_UNDERSCORE
189 #define ACE_HAS_SVR4_DYNAMIC_LINKING
190 #define ACE_LD_SEARCH_PATH ACE_TEXT ("DYLD_LIBRARY_PATH")
191 #define ACE_DLL_SUFFIX ACE_TEXT (".dylib")
192 //#define ACE_LACKS_DLCLOSE
194 // gperf seems to need this
195 //#define ACE_HAS_NONSTATIC_OBJECT_MANAGER
197 #define ACE_LACKS_UNSETENV
198 #define ACE_LACKS_ISCTYPE
200 #if defined(__APPLE_CC__) && (__APPLE_CC__ < 1173)
201 #error "Compiler must be upgraded, see http://developer.apple.com"
202 #endif /* __APPLE_CC__ */
204 #endif /* ACE_CONFIG_MACOSX_TIGER_H */