~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to ace/config-psosim-g++.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- C++ -*- */
2
 
// config-psosim-g++.h,v 4.18 2003/07/19 19:04:15 dhinton Exp
3
 
 
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.
6
 
 
7
 
///////////////////////////////////////////////////////////////////////////////
8
 
// * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * //
9
 
//                                                                           //
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.     //
16
 
//                                                                           //
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.                                             //
23
 
//                                                                           //
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.                                    //
32
 
//                                                                           //
33
 
// * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * IMPORTANT * //
34
 
///////////////////////////////////////////////////////////////////////////////
35
 
 
36
 
 
37
 
#ifndef ACE_CONFIG_H
38
 
#define ACE_CONFIG_H
39
 
#include /**/ "ace/pre.h"
40
 
 
41
 
////////////////////////////////////////////////////////////////
42
 
//                                                            //
43
 
//   Definitions appropriate for both pSOSim and pSOSystem    //
44
 
//                                                            //
45
 
////////////////////////////////////////////////////////////////
46
 
 
47
 
#if ! defined (__ACE_INLINE__)
48
 
# define __ACE_INLINE__
49
 
#endif /* ! __ACE_INLINE__ */
50
 
 
51
 
#if defined (__GNUG__)
52
 
# include "ace/config-g++-common.h"
53
 
#endif /* __GNUG__ */
54
 
 
55
 
#define ACE_HAS_IP_MULTICAST
56
 
 
57
 
#define ACE_HAS_CPLUSPLUS_HEADERS
58
 
 
59
 
// #define ACE_LACKS_U_LONG_LONG
60
 
 
61
 
#define ACE_LACKS_HRTIME_T
62
 
 
63
 
// #define ACE_LACKS_EVENT_T
64
 
 
65
 
#define ACE_HAS_VERBOSE_NOTSUP
66
 
 
67
 
#define ACE_LACKS_MEMORY_H
68
 
 
69
 
#define ACE_LACKS_MALLOC_H
70
 
 
71
 
#define ACE_LACKS_MMAP
72
 
 
73
 
#define ACE_LACKS_UNIX_DOMAIN_SOCKETS
74
 
 
75
 
#define ACE_HAS_NONSTATIC_OBJECT_MANAGER
76
 
 
77
 
#define ACE_LACKS_SEMBUF_T
78
 
 
79
 
#define ACE_LACKS_EXEC
80
 
 
81
 
#define ACE_LACKS_FORK
82
 
 
83
 
 
84
 
// rename the main entry point
85
 
#define ACE_MAIN extern "C" void root
86
 
 
87
 
// All this is commented out for the single threaded port
88
 
/*
89
 
 
90
 
#define ACE_HAS_THREADS
91
 
 
92
 
#if !defined (ACE_MT_SAFE)
93
 
# define ACE_MT_SAFE 1
94
 
#endif
95
 
 
96
 
#define ACE_DEFAULT_THREAD_KEYS 256
97
 
 
98
 
#define ACE_LACKS_COND_T
99
 
 
100
 
 
101
 
*/
102
 
 
103
 
#define ACE_HAS_TSS_EMULATION
104
 
 
105
 
 
106
 
////////////////////////////////////////////////////////////////
107
 
//                                                            //
108
 
//   Definitions appropriate for pSOSim but not pSOSystem     //
109
 
//                                                            //
110
 
////////////////////////////////////////////////////////////////
111
 
 
112
 
#define ACE_HAS_POSIX_TIME
113
 
 
114
 
////////////////////////////////////////////////////////////////
115
 
//                                                            //
116
 
//   Definitions appropriate for pSOSystem but not pSOSim     //
117
 
//                                                            //
118
 
////////////////////////////////////////////////////////////////
119
 
 
120
 
 
121
 
////////////////////////////////////////////////////////////////
122
 
//                                                            //
123
 
//   Definitions that have not been categorized               //
124
 
//                                                            //
125
 
////////////////////////////////////////////////////////////////
126
 
 
127
 
/* In the *simulator* environment, use unsigned int for size_t */
128
 
#define size_t  unsigned int
129
 
 
130
 
#define TCP_
131
 
 
132
 
#define ACE_LACKS_PTHREAD_THR_SIGSETMASK
133
 
 
134
 
/* #define ACE_HAS_BROKEN_SENDMSG */
135
 
 
136
 
/* #define ACE_HAS_BROKEN_WRITEV  */
137
 
 
138
 
#define ACE_HAS_CHARPTR_SOCKOPT
139
 
 
140
 
#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
141
 
 
142
 
#define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
143
 
 
144
 
#define ACE_HAS_MSG
145
 
 
146
 
#define ACE_HAS_POSIX_NONBLOCK
147
 
 
148
 
#define ACE_HAS_SIGINFO_T
149
 
 
150
 
#define ACE_HAS_SIGWAIT
151
 
 
152
 
#define ACE_HAS_SIG_ATOMIC_T
153
 
 
154
 
#define ACE_HAS_STRERROR
155
 
 
156
 
#define ACE_LACKS_ACCESS
157
 
 
158
 
#define ACE_LACKS_GETHOSTENT
159
 
 
160
 
#define ACE_LACKS_GETSERVBYNAME
161
 
 
162
 
#define ACE_LACKS_IOSTREAM_FX
163
 
 
164
 
#define ACE_LACKS_KEY_T
165
 
 
166
 
#define ACE_LACKS_LINEBUFFERED_STREAMBUF
167
 
 
168
 
#define ACE_LACKS_LONGLONG_T
169
 
 
170
 
#define ACE_LACKS_LSTAT
171
 
 
172
 
#define ACE_LACKS_MADVISE
173
 
 
174
 
#define ACE_LACKS_MKTEMP
175
 
 
176
 
#define ACE_LACKS_MPROTECT
177
 
 
178
 
#define ACE_LACKS_MSYNC
179
 
 
180
 
#define ACE_LACKS_PARAM_H
181
 
 
182
 
#define ACE_LACKS_PWD_FUNCTIONS
183
 
 
184
 
#define ACE_LACKS_READLINK
185
 
 
186
 
#define ACE_LACKS_RLIMIT
187
 
 
188
 
#define ACE_LACKS_RWLOCK_T
189
 
 
190
 
#define ACE_LACKS_SBRK
191
 
 
192
 
#define ACE_LACKS_SIGINFO_H
193
 
 
194
 
#define ACE_LACKS_SIGNED_CHAR
195
 
 
196
 
#define ACE_LACKS_SI_ADDR
197
 
 
198
 
#define ACE_LACKS_SOCKETPAIR
199
 
 
200
 
#define ACE_LACKS_STRCASECMP
201
 
 
202
 
#define ACE_LACKS_STRRECVFD
203
 
 
204
 
#define ACE_LACKS_SYSCALL
205
 
 
206
 
#define ACE_LACKS_SYSV_MSG_H
207
 
 
208
 
#define ACE_LACKS_SYSV_SHMEM
209
 
 
210
 
#define ACE_LACKS_SYS_NERR
211
 
 
212
 
#define ACE_LACKS_TIMESPEC_T
213
 
 
214
 
#define ACE_LACKS_UCONTEXT_H
215
 
 
216
 
#define ACE_LACKS_UNIX_SIGNALS
217
 
 
218
 
#define ACE_LACKS_UTSNAME_T
219
 
 
220
 
// #define ACE_LACKS_SYSTIME_H
221
 
 
222
 
#define ACE_PAGE_SIZE 4096
223
 
 
224
 
#if !defined (ACE_NTRACE)
225
 
# define ACE_NTRACE 1
226
 
#endif /* ACE_NTRACE */
227
 
 
228
 
#if !defined (ACE_PSOS)
229
 
#define ACE_PSOS
230
 
#endif /* ACE_PSOS */
231
 
 
232
 
#if !defined (ACE_PSOSIM)
233
 
#define ACE_PSOSIM
234
 
#endif /* ACE_PSOSIM */
235
 
 
236
 
#if !defined (ACE_PSOS_TBD)
237
 
#define ACE_PSOS_TBD
238
 
#endif /* ACE_PSOS_TBD */
239
 
 
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
245
 
 
246
 
#define ACE_MALLOC_ALIGN 8
247
 
#include /**/ "ace/post.h"
248
 
#endif /* ACE_CONFIG_H */