Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / config-macosx-jaguar.h
blobfb8dfd775b989cc2f96d47cd90ea57cf0e71149d
1 /* -*- C++ -*- */
2 // This configuration file is designed to work with the MacOS X operating system, version 10.2 (Jaguar).
4 #ifndef ACE_CONFIG_MACOSX_H
5 #define ACE_CONFIG_MACOSX_H
7 #if ! defined (__ACE_INLINE__)
8 #define __ACE_INLINE__
9 #endif /* ! __ACE_INLINE__ */
11 #if defined (__GNUG__)
12 # include "ace/config-g++-common.h"
13 #endif /* __GNUG__ */
15 #define ACE_SIZE_T_FORMAT_SPECIFIER_ASCII "%lu"
17 #if defined (ACE_HAS_PENTIUM)
18 # undef ACE_HAS_PENTIUM
19 #endif /* ACE_HAS_PENTIUM */
21 #if !defined (_THREAD_SAFE)
22 #define _THREAD_SAFE
23 #endif /* _THREAD_SAFE */
25 #define ACE_HAS_GPERF
26 #define ACE_HAS_POSIX_SEM
28 #define ACE_LACKS_STROPTS_H
29 #define ACE_LACKS_WCHAR_H
31 #define ACE_SYS_SELECT_NEEDS_UNISTD_H
34 // Compiler/platform defines the sig_atomic_t typedef.
35 #define ACE_HAS_SIG_ATOMIC_T
37 // Compiler/platform supports SVR4 signal typedef
38 #define ACE_HAS_SVR4_SIGNAL_T
40 //Platform/compiler has the sigwait(2) prototype
41 #define ACE_HAS_SIGWAIT
43 //Platform supports sigsuspend()
44 #define ACE_HAS_SIGSUSPEND
46 //#define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS
47 #define ACE_LACKS_GETPGID
48 #define ACE_LACKS_RWLOCK_T
50 #define ACE_HAS_SIOCGIFCONF
52 // Optimize ACE_Handle_Set for select().
53 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
55 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
57 #define ACE_HAS_SYSCTL
59 #define ACE_NEEDS_SCHED_H
61 #define ACE_HAS_ALT_CUSERID
63 // Platform supports POSIX timers via struct timespec.
64 #define ACE_HAS_POSIX_TIME
65 #define ACE_HAS_UALARM
67 // Platform defines struct timespec but not timespec_t
68 #define ACE_LACKS_TIMESPEC_T
70 #define ACE_LACKS_STRRECVFD
72 #define ACE_HAS_SOCKADDR_IN6_SIN6_LEN
74 // Compiler/platform contains the <sys/syscall.h> file.
75 #define ACE_HAS_SYS_SYSCALL_H
77 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
79 // Compiler/platform supports alloca().
80 // Although ACE does have alloca() on this compiler/platform combination, it is
81 // disabled by default since it can be dangerous. Uncomment the following line
82 // if you ACE to use it.
83 //#define ACE_HAS_ALLOCA
85 // Compiler/platform correctly calls init()/fini() for shared libraries.
86 #define ACE_HAS_AUTOMATIC_INIT_FINI
88 // Explicit dynamic linking permits "lazy" symbol resolution
89 //#define ACE_HAS_RTLD_LAZY_V
91 // platform supports POSIX O_NONBLOCK semantics
92 #define ACE_HAS_POSIX_NONBLOCK
94 // platform supports IP multicast
95 #define ACE_HAS_IP_MULTICAST
96 #define ACE_LACKS_PERFECT_MULTICAST_FILTERING 1
98 // Compiler/platform has the getrusage() system call.
99 #define ACE_HAS_GETRUSAGE
101 // Compiler supports the ssize_t typedef.
102 #define ACE_HAS_SSIZE_T
104 // Compiler/platform provides the sockio.h file.
105 #define ACE_HAS_SYS_SOCKIO_H
107 // Defines the page size of the system.
108 #define ACE_HAS_GETPAGESIZE
110 // Platform provides <sys/filio.h> header.
111 #define ACE_HAS_SYS_FILIO_H
113 // Platform/compiler supports timezone * as second parameter to gettimeofday().
114 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY
116 #define ACE_LACKS_SYS_MSG_H
117 #define ACE_LACKS_SYSV_MSQ_PROTOS
118 #define ACE_HAS_MSG
119 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
120 #define ACE_HAS_NONCONST_MSGSND
122 #if !defined (ACE_MT_SAFE)
123 # define ACE_MT_SAFE 1
124 #endif
126 #if ACE_MT_SAFE == 1
127 // Yes, we do have threads.
128 # define ACE_HAS_THREADS
129 // And they're even POSIX pthreads
130 # define ACE_HAS_PTHREADS
131 # define ACE_HAS_THREAD_SPECIFIC_STORAGE
132 # define ACE_LACKS_THREAD_PROCESS_SCOPING
133 #endif /* ACE_MT_SAFE == 1 */
135 #define ACE_HAS_DIRENT
136 #define ACE_LACKS_POLL_H
137 #define ACE_LACKS_SEARCH_H
139 #define ACE_LACKS_SETSCHED
140 //#define ACE_HAS_RECURSIVE_MUTEXES
142 // Platform has POSIX terminal interface.
143 #define ACE_HAS_TERMIOS
145 #define ACE_HAS_SEMUN
146 #define ACE_HAS_SIGINFO_T
147 #define ACE_LACKS_SIGINFO_H
148 #define ACE_HAS_UCONTEXT_T
149 #define ACE_HAS_GETIFADDRS
150 #define ACE_LACKS_UNNAMED_SEMAPHORE
152 // dlcompat package (not part of base Darwin) is needed for dlopen().
153 // You may download directly from sourceforge and install or use fink
154 // Fink installer puts libraries in /sw/lib and headers in /sw/include
155 // In order to install dlcompat do the following:
156 // - download fink from http://fink.sf.net
157 // - type:
158 // fink install dlcompat
159 // as of Dec 2002, if you use fink you will need to uncomment the next line
160 //#define ACE_NEEDS_DL_UNDERSCORE
161 #define ACE_HAS_SVR4_DYNAMIC_LINKING
162 #define ACE_LD_SEARCH_PATH ACE_TEXT ("DYLD_LIBRARY_PATH")
163 #define ACE_DLL_SUFFIX ACE_TEXT (".dylib")
164 #define ACE_LACKS_DLCLOSE
166 // gperf seems to need this
167 #define ACE_HAS_NONSTATIC_OBJECT_MANAGER
169 #if defined(__APPLE_CC__) && (__APPLE_CC__ < 1173)
170 #error "Compiler must be upgraded, see http://developer.apple.com"
171 #endif /* __APPLE_CC__ */
173 #endif /* ACE_CONFIG_MACOSX_H */