Restore build on FreeBSD.
[getmangos.git] / dep / ACE_wrappers / ace / config-sunos5.4-g++.h
blobf911da8d361e05fce040452421c8f61889628efa
1 /* -*- C++ -*- */
2 // $Id: config-sunos5.4-g++.h 81697 2008-05-14 18:33:11Z johnnyw $
4 // The following configuration file is designed to work for SunOS 5.4
5 // platforms using the GNU g++ compiler.
7 #ifndef ACE_CONFIG_H
8 #define ACE_CONFIG_H
9 #include /**/ "ace/pre.h"
11 #if ! defined (__ACE_INLINE__)
12 # define __ACE_INLINE__
13 #endif /* ! __ACE_INLINE__ */
15 // config-g++-common.h undef's ACE_HAS_STRING_CLASS with -frepo, so
16 // this must appear before its #include.
17 #define ACE_HAS_STRING_CLASS
19 #include "ace/config-g++-common.h"
20 #define ACE_HAS_GNU_CSTRING_H
22 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
24 // Platform supports pread() and pwrite()
25 #define ACE_HAS_P_READ_WRITE
27 #define ACE_HAS_XPG4_MULTIBYTE_CHAR
29 // Platform has POSIX terminal interface.
30 #define ACE_HAS_TERMIOS
32 // Platform supports System V IPC (most versions of UNIX, but not Win32)
33 #define ACE_HAS_SYSV_IPC
35 // Sun has the wrong prototype for sendmsg.
36 #define ACE_HAS_NONCONST_SENDMSG
38 // The SunOS 5.x version of rand_r is inconsistent with the header files...
39 #define ACE_HAS_BROKEN_RANDR
41 // Platform supports system configuration information.
42 #define ACE_HAS_SYS_SYSTEMINFO_H
43 #define ACE_HAS_SYSINFO
45 // Platform supports the POSIX regular expression library
46 #define ACE_HAS_REGEX
48 // Platform supports recvmsg and sendmsg.
49 #define ACE_HAS_MSG
51 // Compiler/platform contains the <sys/syscall.h> file.
52 #define ACE_HAS_SYS_SYSCALL_H
54 // Compiler/platform correctly calls init()/fini() for shared libraries.
55 #define ACE_HAS_AUTOMATIC_INIT_FINI
57 // Platform supports POSIX O_NONBLOCK semantics.
58 #define ACE_HAS_POSIX_NONBLOCK
60 // Compiler/platform has correctly prototyped header files.
61 #define ACE_HAS_CPLUSPLUS_HEADERS
63 // Compiler/platform supports SunOS high resolution timers.
64 #define ACE_HAS_HI_RES_TIMER
66 // Platform supports IP multicast
67 #define ACE_HAS_IP_MULTICAST
69 // Compiler/platform supports alloca()
70 // Although ACE does have alloca() on this compiler/platform combination, it is
71 // disabled by default since it can be dangerous. Uncomment the following line
72 // if you ACE to use it.
73 //#define ACE_HAS_ALLOCA
75 // Compiler/platform has <alloca.h>
76 #define ACE_HAS_ALLOCA_H
78 // Platform contains <poll.h>.
79 #define ACE_HAS_POLL
81 // Platform supports POSIX timers via timestruc_t.
82 #define ACE_HAS_POSIX_TIME
84 // Platform supports the /proc file system.
85 #define ACE_HAS_PROC_FS
87 // Platform supports the prusage_t struct.
88 #define ACE_HAS_PRUSAGE_T
90 // Compiler/platform defines the sig_atomic_t typedef.
91 #define ACE_HAS_SIG_ATOMIC_T
93 // Platform supports SVR4 extended signals.
94 #define ACE_HAS_SIGINFO_T
95 #define ACE_HAS_UCONTEXT_T
97 // Compiler/platform provides the sockio.h file.
98 #define ACE_HAS_SYS_SOCKIO_H
100 // Compiler supports the ssize_t typedef.
101 #define ACE_HAS_SSIZE_T
103 // Platform supports STREAMS.
104 #define ACE_HAS_STREAMS
106 // Platform supports STREAM pipes.
107 #define ACE_HAS_STREAM_PIPES
109 // Compiler/platform supports strerror ().
110 #define ACE_HAS_STRERROR
112 // Compiler/platform supports struct strbuf.
113 #define ACE_HAS_STRBUF_T
115 // Compiler/platform supports SVR4 dynamic linking semantics.
116 #define ACE_HAS_SVR4_DYNAMIC_LINKING
118 // Compiler/platform supports SVR4 gettimeofday() prototype.
119 #define ACE_HAS_SVR4_GETTIMEOFDAY
121 // Platform lacks pthread_sigaction
122 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK
124 // Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff)...
125 #define ACE_HAS_SVR4_TLI
127 // Platform provides <sys/filio.h> header.
128 #define ACE_HAS_SYS_FILIO_H
130 // Compiler/platform supports sys_siglist array.
131 #define ACE_HAS_SYS_SIGLIST
133 /* Turn off the following defines if you want to disable threading. */
134 // Compile using multi-thread libraries.
135 #if !defined (ACE_MT_SAFE)
136 # define ACE_MT_SAFE 1
137 # if !defined (_REENTRANT)
138 # define _REENTRANT
139 # endif /* _REENTRANT */
140 #endif /* !ACE_MT_SAFE */
142 // Platform supports Solaris threads.
143 #define ACE_HAS_STHREADS
145 // Platform supports threads.
146 #define ACE_HAS_THREADS
148 // Compiler/platform has thread-specific storage
149 #define ACE_HAS_THREAD_SPECIFIC_STORAGE
151 // Platform supports reentrant functions (i.e., all the POSIX *_r functions).
152 #define ACE_HAS_REENTRANT_FUNCTIONS
154 /* end threading defines */
156 #define ACE_HAS_PRIOCNTL
157 #define ACE_NEEDS_LWP_PRIO_SET
159 // Platform supports TLI timod STREAMS module.
160 #define ACE_HAS_TIMOD_H
162 // Platform supports TLI tiuser header.
163 #define ACE_HAS_TIUSER_H
165 // Platform provides TLI function prototypes.
166 #define ACE_HAS_TLI_PROTOTYPES
168 // Platform supports TLI.
169 #define ACE_HAS_TLI
171 // Use the poll() event demultiplexor rather than select().
172 //#define ACE_USE_POLL
174 // Defines the page size of the system.
175 #define ACE_PAGE_SIZE 4096
176 #define ACE_HAS_IDTYPE_T
177 #define ACE_HAS_GPERF
178 #define ACE_HAS_DIRENT
180 #include /**/ "ace/post.h"
181 #endif /* ACE_CONFIG_H */