blob: 7373d5f23e32cf66fbf52a9d10ba614618fbed78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
|
// $Id$
// The following configuration file is designed to work for LynxOS 2.50
// platforms using the GNU g++ compiler (version 2.7.2 or later).
#if !defined (ACE_CONFIG_H)
#define ACE_CONFIG_H
#if ! defined (__ACE_INLINE__)
# define __ACE_INLINE__
#endif /* ! __ACE_INLINE__ */
// System include files are not in sys/, this gets rid of warning.
#define __NO_INCLUDE_WARN__
#define ACE_HAS_STRING_CLASS
#define ACE_HAS_TEMPLATE_SPECIALIZATION
#define ACE_HAS_UALARM
#define ACE_LACKS_UALARM_PROTOTYPE
// ACE_HAS_EXCEPTIONS requires -fhandle-exceptions, but that gives
// g++ 2.7.2 fits: it spits out all kinds of warnings that it doesn't
// without that option (and that are just wrong), and runs out of
// virtual memory when trying to compile ace/Log_Msg.cpp.
// So until -fhandle-exceptions gets fixed, we can't use this with g++ . . .
// #define ACE_HAS_EXCEPTIONS
// G++ doesn't support template typedefs fully (yet).
// #define ACE_HAS_TEMPLATE_TYPEDEFS
// Must specialize templates due to G++'s lame parameterized type
// support...
#define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION
// Platform supports System V IPC (most versions of UNIX, but not Win32)
#define ACE_HAS_SYSV_IPC
#define ACE_HAS_LYNXOS_SIGNALS
// Platform supports recvmsg and sendmsg.
#define ACE_HAS_MSG
#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
// Platform supports reentrant functions (i.e., all the POSIX *_r functions).
//#define ACE_HAS_REENTRANT_FUNCTIONS
// Compiler's template mechanism must see source code (i.e., .C files).
#define ACE_TEMPLATES_REQUIRE_SOURCE
// Denotes that GNU has cstring.h as standard
// which redefines memchr()
#define ACE_HAS_GNU_CSTRING_H
// Compiler doesn't support static data member templates.
#define ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES
// Compiler/platform correctly calls init()/fini() for shared libraries.
#define ACE_HAS_AUTOMATIC_INIT_FINI
// Platform supports POSIX O_NONBLOCK semantics.
#define ACE_HAS_POSIX_NONBLOCK
// Compiler/platform has correctly prototyped header files.
#define ACE_HAS_CPLUSPLUS_HEADERS
// Compiler/platform supports SunOS high resolution timers.
//#define ACE_HAS_HI_RES_TIMER
// ACE_HAS_CLOCK_GETTIME requires linking with -lposix4.
#define ACE_HAS_CLOCK_GETTIME
// Platform passes timezone into gettimeofday call
#define ACE_HAS_TIMEZONE_GETTIMEOFDAY
// Platform does not have const anything
#define ACE_LACKS_CONST_TIMESPEC_PTR
#define ACE_HAS_NONCONST_GETBY
#define ACE_HAS_BROKEN_WRITEV
#define ACE_HAS_BROKEN_READV
#define ACE_HAS_BROKEN_SETRLIMIT
#define ACE_LACKS_POSIX_PROTO_FOR_SOME_FUNCS
// Platform supports IP multicast
#define ACE_HAS_IP_MULTICAST
// Platform has union semun defined
#define ACE_HAS_SEMUN
// Compiler/platform supports the "long long" datatype.
#define ACE_HAS_LONGLONG_T
// Compiler/platform supports alloca()
#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>
#define ACE_HAS_ALLOCA_H
// Sockets may be called in multi-threaded programs.
#define ACE_HAS_MT_SAFE_SOCKETS
// Platform contains <poll.h>.
#define ACE_HAS_POLL
// Platform supports POSIX timers via timestruc_t.
#define ACE_HAS_POSIX_TIME
#define ACE_LACKS_TIMESPEC_T
#define ACE_LACKS_STRCASECMP
#define ACE_LACKS_MADVISE
#define ACE_LACKS_GETPGID
// in man pages, but no prototype in headers
#define ACE_LACKS_MKTEMP
// Platform supports the rusage struct.
#define ACE_HAS_GETRUSAGE
// Compiler/platform defines the sig_atomic_t typedef.
#define ACE_HAS_SIG_ATOMIC_T
// Platform supports SVR4 extended signals.
#define ACE_HAS_SIGINFO_T
#define ACE_LACKS_SIGINFO_H
#define ACE_LACKS_UCONTEXT_H
//#define ACE_HAS_UCONTEXT_T
//Platform has si_addr, but its not supported currently
#define ACE_LACKS_SI_ADDR
// Compiler/platform provides the sockio.h file.
#define ACE_HAS_SOCKIO_H
// Compiler supports the ssize_t typedef.
#define ACE_HAS_SSIZE_T
// Platform supports STREAMS.
#define ACE_HAS_STREAMS
// Compiler/platform supports strerror ().
#define ACE_HAS_STRERROR
// Compiler/platform supports struct strbuf.
#define ACE_HAS_STRBUF_T
// Compiler/platform supports sys_siglist array.
#define ACE_HAS_SYS_SIGLIST
/* Turn off the following seven defines if you want to disable threading. */
// Compile using multi-thread libraries.
#if !defined (ACE_MT_SAFE)
# define ACE_MT_SAFE 1
# define _REENTRANT
#endif
// Platform supports threads.
#define ACE_HAS_THREADS
//#define ACE_HAS_PTHREADS
#define ACE_HAS_DCETHREADS
#define ACE_HAS_DCE_DRAFT4_THREADS
#define ACE_HAS_PTHREADS_1003_DOT_1C
#define ACE_HAS_PTHREAD_GETSPECIFIC_DATAPTR
#define ACE_DOES_NOT_HAVE_SETKIND_NP
#define ACE_LACKS_THREAD_STACK_ADDR
#define ACE_LACKS_SETDETACH
#define ACE_LACKS_THREAD_PROCESS_SCOPING
// This gets around Lynx broken macro calls resulting in "::0"
#define _POSIX_THREADS_CALLS
// Platform lack reader/writer locks
#define ACE_LACKS_RWLOCK_T
// Compiler/platform has thread-specific storage
#define ACE_HAS_THREAD_SPECIFIC_STORAGE
#define ACE_HAS_SIGWAIT
#define ACE_LACKS_CONDATTR_PSHARED
// Use the poll() event demultiplexor rather than select().
//#define ACE_USE_POLL
// Turns off the tracing feature.
#if !defined (ACE_NTRACE)
# define ACE_NTRACE 1
#endif /* ACE_NTRACE */
#define ACE_MALLOC_ALIGN 8
// Defines the page size of the system.
#define ACE_PAGE_SIZE 4096
#endif /* ACE_CONFIG_H */
|