2
// config-psosim-g++.h,v 4.18 2003/07/19 19:04:15 dhinton Exp
4
// The following configuration file is designed to work for pSOSim on SunOS5
5
// using the GNU/Cygnus g++ 2.7.2 compiler, without repo patch.
7
///////////////////////////////////////////////////////////////////////////////
8
// * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * //
10
// Because pSOSim includes UNIX system header files in order to do //
11
// its emulation of pSOSystSem on Solaris, there are a number of //
12
// things that are "available" to ACE on pSOSim that are *not* //
13
// really available on pSOSystem. Every effort has been made to //
14
// avoid dependencies on these "features" in the ACE pSOSim port, //
15
// which has in turn necessarily required pSOSim specific definitions. //
17
// To ease portability between pSOSim and pSOSystem, the definitions //
18
// in this file have been separated into three groups: those that //
19
// are known to be appropriate for both pSOSim and pSOSystem, those //
20
// known to be appropriate for pSOSim but (probably) not for pSOSystem, //
21
// and those that are (probably) appropriate for pSOSystem, but are //
22
// not appropriate for pSOSim. //
24
// When porting from pSOSim to pSOSystem, it is (probably) a good //
25
// idea to leave the definitions in the first category alone, //
26
// comment out the definitions in the second category, and uncomment //
27
// the definitions in the third category. Additional definitions //
28
// may need to be added to the third category, as only those that //
29
// were encountered during the pSOSim port were added (that is, one //
30
// of the system files included by pSOSim could be compensating for //
31
// a definition pSOSystem really needs. //
33
// * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * //
34
///////////////////////////////////////////////////////////////////////////////
39
#include /**/ "ace/pre.h"
41
////////////////////////////////////////////////////////////////
43
// Definitions appropriate for both pSOSim and pSOSystem //
45
////////////////////////////////////////////////////////////////
47
#if ! defined (__ACE_INLINE__)
48
# define __ACE_INLINE__
49
#endif /* ! __ACE_INLINE__ */
51
#if defined (__GNUG__)
52
# include "ace/config-g++-common.h"
55
#define ACE_HAS_IP_MULTICAST
57
#define ACE_HAS_CPLUSPLUS_HEADERS
59
// #define ACE_LACKS_U_LONG_LONG
61
#define ACE_LACKS_HRTIME_T
63
// #define ACE_LACKS_EVENT_T
65
#define ACE_HAS_VERBOSE_NOTSUP
67
#define ACE_LACKS_MEMORY_H
69
#define ACE_LACKS_MALLOC_H
71
#define ACE_LACKS_MMAP
73
#define ACE_LACKS_UNIX_DOMAIN_SOCKETS
75
#define ACE_HAS_NONSTATIC_OBJECT_MANAGER
77
#define ACE_LACKS_SEMBUF_T
79
#define ACE_LACKS_EXEC
81
#define ACE_LACKS_FORK
84
// rename the main entry point
85
#define ACE_MAIN extern "C" void root
87
// All this is commented out for the single threaded port
90
#define ACE_HAS_THREADS
92
#if !defined (ACE_MT_SAFE)
93
# define ACE_MT_SAFE 1
96
#define ACE_DEFAULT_THREAD_KEYS 256
98
#define ACE_LACKS_COND_T
103
#define ACE_HAS_TSS_EMULATION
106
////////////////////////////////////////////////////////////////
108
// Definitions appropriate for pSOSim but not pSOSystem //
110
////////////////////////////////////////////////////////////////
112
#define ACE_HAS_POSIX_TIME
114
////////////////////////////////////////////////////////////////
116
// Definitions appropriate for pSOSystem but not pSOSim //
118
////////////////////////////////////////////////////////////////
121
////////////////////////////////////////////////////////////////
123
// Definitions that have not been categorized //
125
////////////////////////////////////////////////////////////////
127
/* In the *simulator* environment, use unsigned int for size_t */
128
#define size_t unsigned int
132
#define ACE_LACKS_PTHREAD_THR_SIGSETMASK
134
/* #define ACE_HAS_BROKEN_SENDMSG */
136
/* #define ACE_HAS_BROKEN_WRITEV */
138
#define ACE_HAS_CHARPTR_SOCKOPT
140
#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
142
#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
146
#define ACE_HAS_POSIX_NONBLOCK
148
#define ACE_HAS_SIGINFO_T
150
#define ACE_HAS_SIGWAIT
152
#define ACE_HAS_SIG_ATOMIC_T
154
#define ACE_HAS_STRERROR
156
#define ACE_LACKS_ACCESS
158
#define ACE_LACKS_GETHOSTENT
160
#define ACE_LACKS_GETSERVBYNAME
162
#define ACE_LACKS_IOSTREAM_FX
164
#define ACE_LACKS_KEY_T
166
#define ACE_LACKS_LINEBUFFERED_STREAMBUF
168
#define ACE_LACKS_LONGLONG_T
170
#define ACE_LACKS_LSTAT
172
#define ACE_LACKS_MADVISE
174
#define ACE_LACKS_MKTEMP
176
#define ACE_LACKS_MPROTECT
178
#define ACE_LACKS_MSYNC
180
#define ACE_LACKS_PARAM_H
182
#define ACE_LACKS_PWD_FUNCTIONS
184
#define ACE_LACKS_READLINK
186
#define ACE_LACKS_RLIMIT
188
#define ACE_LACKS_RWLOCK_T
190
#define ACE_LACKS_SBRK
192
#define ACE_LACKS_SIGINFO_H
194
#define ACE_LACKS_SIGNED_CHAR
196
#define ACE_LACKS_SI_ADDR
198
#define ACE_LACKS_SOCKETPAIR
200
#define ACE_LACKS_STRCASECMP
202
#define ACE_LACKS_STRRECVFD
204
#define ACE_LACKS_SYSCALL
206
#define ACE_LACKS_SYSV_MSG_H
208
#define ACE_LACKS_SYSV_SHMEM
210
#define ACE_LACKS_SYS_NERR
212
#define ACE_LACKS_TIMESPEC_T
214
#define ACE_LACKS_UCONTEXT_H
216
#define ACE_LACKS_UNIX_SIGNALS
218
#define ACE_LACKS_UTSNAME_T
220
// #define ACE_LACKS_SYSTIME_H
222
#define ACE_PAGE_SIZE 4096
224
#if !defined (ACE_NTRACE)
225
# define ACE_NTRACE 1
226
#endif /* ACE_NTRACE */
228
#if !defined (ACE_PSOS)
230
#endif /* ACE_PSOS */
232
#if !defined (ACE_PSOSIM)
234
#endif /* ACE_PSOSIM */
236
#if !defined (ACE_PSOS_TBD)
238
#endif /* ACE_PSOS_TBD */
240
// By default, don't include RCS Id strings in object code.
241
#if !defined (ACE_USE_RCSID)
242
#define ACE_USE_RCSID 0
243
#endif /* #if !defined (ACE_USE_RCSID) */
244
#define ACE_LACKS_MKFIFO
246
#define ACE_MALLOC_ALIGN 8
247
#include /**/ "ace/post.h"
248
#endif /* ACE_CONFIG_H */