Restore build on FreeBSD.
[getmangos.git] / dep / ACE_wrappers / ace / config-macosx-panther.h
blob8b4010e796ad6152e86365030bef423457918fa7
1 /* -*- C++ -*- */
2 // $Id: config-macosx-panther.h 80826 2008-03-04 14:51:23Z wotte $
4 // This configuration file is designed to work with the MacOS X operating system.
6 #ifndef ACE_CONFIG_MACOSX_H
7 #define ACE_CONFIG_MACOSX_H
9 #if ! defined (__ACE_INLINE__)
10 #define __ACE_INLINE__
11 #endif /* ! __ACE_INLINE__ */
13 #if defined (__GNUG__)
14 # include "ace/config-g++-common.h"
15 #endif /* __GNUG__ */
17 #define ACE_LACKS_SUSECONDS_T
18 #define ACE_SIZE_T_FORMAT_SPECIFIER ACE_TEXT ("%lu")
20 #if defined (ACE_HAS_PENTIUM)
21 # undef ACE_HAS_PENTIUM
22 #endif /* ACE_HAS_PENTIUM */
24 #if !defined (_THREAD_SAFE)
25 #define _THREAD_SAFE
26 #endif /* _THREAD_SAFE */
28 #define ACE_HAS_GPERF
29 #define ACE_HAS_POSIX_SEM
31 //#define ACE_HAS_SVR4_TLI
33 #define ACE_LACKS_STROPTS_H
34 #define ACE_LACKS_WCHAR_H
37 // Compiler/platform defines the sig_atomic_t typedef.
38 #define ACE_HAS_SIG_ATOMIC_T
40 // Compiler/platform supports SVR4 signal typedef
41 #define ACE_HAS_SVR4_SIGNAL_T
43 //Platform/compiler has the sigwait(2) prototype
44 #define ACE_HAS_SIGWAIT
46 //Platform supports sigsuspend()
47 #define ACE_HAS_SIGSUSPEND
49 //Platform/compiler has macros for sig{empty,fill,add,del}set (e.g., SCO and FreeBSD)
50 #define ACE_HAS_SIG_MACROS
52 //#define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS
53 #define ACE_LACKS_GETPGID
54 #define ACE_LACKS_RWLOCK_T
56 // Optimize ACE_Handle_Set for select().
57 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
59 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
61 //?
62 #define ACE_LACKS_SIGSET
64 #define ACE_NEEDS_SCHED_H
66 // Use of <malloc.h> is deprecated.
67 #define ACE_LACKS_MALLOC_H
69 #define ACE_HAS_ALT_CUSERID
71 // Platform supports POSIX timers via struct timespec.
72 #define ACE_HAS_POSIX_TIME
73 #define ACE_HAS_UALARM
75 // Platform defines struct timespec but not timespec_t
76 #define ACE_LACKS_TIMESPEC_T
78 #define ACE_LACKS_STRRECVFD
80 #define ACE_HAS_SOCKADDR_IN_SIN_LEN
81 #define ACE_HAS_SOCKADDR_IN6_SIN6_LEN
83 // Platform supports System V IPC (most versions of UNIX, but not Win32)
84 #define ACE_HAS_SYSV_IPC
86 // Compiler/platform contains the <sys/syscall.h> file.
87 #define ACE_HAS_SYS_SYSCALL_H
89 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
91 // Compiler/platform supports alloca().
92 // Although ACE does have alloca() on this compiler/platform combination, it is
93 // disabled by default since it can be dangerous. Uncomment the following line
94 // if you ACE to use it.
95 //#define ACE_HAS_ALLOCA
97 // Compiler/platform correctly calls init()/fini() for shared libraries.
98 #define ACE_HAS_AUTOMATIC_INIT_FINI
100 // Explicit dynamic linking permits "lazy" symbol resolution
101 //#define ACE_HAS_RTLD_LAZY_V
103 // platform supports POSIX O_NONBLOCK semantics
104 #define ACE_HAS_POSIX_NONBLOCK
106 // platform supports IP multicast
107 #define ACE_HAS_IP_MULTICAST
108 #define ACE_LACKS_PERFECT_MULTICAST_FILTERING 1
110 // Compiler/platform has the getrusage() system call.
111 #define ACE_HAS_GETRUSAGE
113 // Compiler supports the ssize_t typedef.
114 #define ACE_HAS_SSIZE_T
116 // Compiler/platform supports strerror ().
117 #define ACE_HAS_STRERROR
119 // Compiler/platform provides the sockio.h file.
120 #define ACE_HAS_SYS_SOCKIO_H
122 // Defines the page size of the system.
123 #define ACE_HAS_GETPAGESIZE
125 // Platform provides <sys/filio.h> header.
126 #define ACE_HAS_SYS_FILIO_H
128 // Platform/compiler supports timezone * as second parameter to gettimeofday().
129 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY
131 #define ACE_LACKS_SYS_MSG_H
132 #define ACE_LACKS_SYSV_MSQ_PROTOS
133 #define ACE_HAS_MSG
134 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
135 #define ACE_HAS_NONCONST_MSGSND
137 #if !defined (ACE_MT_SAFE)
138 # define ACE_MT_SAFE 1
139 #endif
141 #if ACE_MT_SAFE == 1
142 // Yes, we do have threads.
143 # define ACE_HAS_THREADS
144 // And they're even POSIX pthreads
145 # define ACE_HAS_PTHREADS
146 # define ACE_HAS_PTHREAD_SCHEDPARAM
147 # define ACE_HAS_THREAD_SPECIFIC_STORAGE
148 #endif /* ACE_MT_SAFE == 1 */
150 # define ACE_LACKS_THREAD_PROCESS_SCOPING
152 #define ACE_HAS_DIRENT
153 #define ACE_LACKS_POLL_H
154 #define ACE_LACKS_SEARCH_H
156 #define ACE_LACKS_SETSCHED
157 //#define ACE_HAS_RECURSIVE_MUTEXES
159 // Platform has POSIX terminal interface.
160 #define ACE_HAS_TERMIOS
162 #define ACE_HAS_SEMUN
163 #define ACE_HAS_SIGINFO_T
164 #define ACE_LACKS_SIGINFO_H
165 #define ACE_HAS_UCONTEXT_T
166 #define ACE_HAS_GETIFADDRS
167 #define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES
168 #define ACE_LACKS_UNNAMED_SEMAPHORE
170 // dlcompat package (not part of base Darwin) is needed for dlopen().
171 // You may download directly from sourceforge and install or use fink
172 // Fink installer puts libraries in /sw/lib and headers in /sw/include
173 // In order to install dlcompat do the following:
174 // - download fink from http://fink.sf.net
175 // - type:
176 // fink install dlcompat
177 // as of Dec 2002, if you use fink you will need to uncomment the next line
178 //#define ACE_NEEDS_DL_UNDERSCORE
179 #define ACE_HAS_SVR4_DYNAMIC_LINKING
180 #define ACE_LD_SEARCH_PATH ACE_TEXT ("DYLD_LIBRARY_PATH")
181 #define ACE_DLL_SUFFIX ACE_TEXT (".dylib")
182 //#define ACE_LACKS_DLCLOSE
184 // gperf seems to need this
185 //#define ACE_HAS_NONSTATIC_OBJECT_MANAGER
187 #if defined(__APPLE_CC__) && (__APPLE_CC__ < 1173)
188 #error "Compiler must be upgraded, see http://developer.apple.com"
189 #endif /* __APPLE_CC__ */
191 #endif /* ACE_CONFIG_MACOSX_H */