Revert to Current Include Style
[ACE_TAO.git] / ACE / ace / config-sunos5.4-sunc++-4.x.h
blob231876110a755d3ca467814073af8fa3ebf339b8
1 /* -*- C++ -*- */
2 // The following configuration file is designed to work for SunOS 5.4
3 // platforms using the SunC++ 4.0.x compiler.
5 #ifndef ACE_CONFIG_H
6 #define ACE_CONFIG_H
7 #include /**/ "ace/pre.h"
9 #if ! defined (__ACE_INLINE__)
10 # define __ACE_INLINE__
11 #endif /* ! __ACE_INLINE__ */
13 // Optimize ACE_Handle_Set for select().
14 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
16 // Platform supports pread() and pwrite()
17 #define ACE_HAS_P_READ_WRITE
19 #define ACE_HAS_XPG4_MULTIBYTE_CHAR
21 // Platform supports System V IPC (most versions of UNIX, but not Win32)
22 #define ACE_HAS_SYSV_IPC
24 // Sun has the wrong prototype for sendmsg.
25 #define ACE_HAS_NONCONST_SENDMSG
27 // Platform supports system configuration information.
28 #define ACE_HAS_SYS_SYSTEMINFO_H
29 #define ACE_HAS_SYSV_SYSINFO
31 // Platform supports the POSIX regular expression library.
32 #define ACE_HAS_REGEX
34 // Platform supports recvmsg and sendmsg.
35 #define ACE_HAS_MSG
37 // Compiler/platform contains the <sys/syscall.h> file.
38 #define ACE_HAS_SYS_SYSCALL_H
40 // Platform has POSIX terminal interface.
41 #define ACE_HAS_TERMIOS
43 // Compiler/platform correctly calls init()/fini() for shared libraries.
44 #define ACE_HAS_AUTOMATIC_INIT_FINI
46 // Platform supports POSIX O_NONBLOCK semantics.
47 #define ACE_HAS_POSIX_NONBLOCK
49 // Compiler/platform has correctly prototyped header files.
50 #define ACE_HAS_CPLUSPLUS_HEADERS
52 // Compiler/platform supports SunOS high resolution timers.
53 #define ACE_HAS_HI_RES_TIMER
55 // Platform supports IP multicast
56 #define ACE_HAS_IP_MULTICAST
58 // Compiler/platform supports alloca()
59 // Although ACE does have alloca() on this compiler/platform combination, it is
60 // disabled by default since it can be dangerous. Uncomment the following line
61 // if you ACE to use it.
62 //#define ACE_HAS_ALLOCA
64 // Compiler/platform has <alloca.h>
65 #define ACE_HAS_ALLOCA_H
67 // Platform contains <poll.h>.
68 #define ACE_HAS_POLL
70 // Platform supports POSIX timers via timestruc_t.
71 #define ACE_HAS_POSIX_TIME
73 // Platform supports the /proc file system.
74 #define ACE_HAS_PROC_FS
76 // Platform supports the prusage_t struct.
77 #define ACE_HAS_PRUSAGE_T
79 // Compiler/platform defines the sig_atomic_t typedef.
80 #define ACE_HAS_SIG_ATOMIC_T
82 // Platform supports SVR4 extended signals.
83 #define ACE_HAS_SIGINFO_T
84 #define ACE_HAS_UCONTEXT_T
86 // Compiler/platform provides the sockio.h file.
87 #define ACE_HAS_SYS_SOCKIO_H
89 // Compiler supports the ssize_t typedef.
90 #define ACE_HAS_SSIZE_T
92 // Platform supports STREAMS.
93 #define ACE_HAS_STREAMS
95 // Platform supports STREAM pipes.
96 #define ACE_HAS_STREAM_PIPES
98 // Compiler/platform supports struct strbuf.
99 #define ACE_HAS_STRBUF_T
101 // Compiler/platform supports SVR4 dynamic linking semantics.
102 #define ACE_HAS_SVR4_DYNAMIC_LINKING
104 // Compiler/platform supports SVR4 gettimeofday() prototype.
105 #define ACE_HAS_SVR4_GETTIMEOFDAY
107 // Compiler/platform supports SVR4 signal typedef.
108 #define ACE_HAS_SVR4_SIGNAL_T
110 // Platform lacks pthread_sigaction
111 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK
113 // Compiler/platform supports SVR4 ACE_TLI (in particular, T_GETNAME stuff)...
114 #define ACE_HAS_SVR4_TLI
116 // Platform provides <sys/filio.h> header.
117 #define ACE_HAS_SYS_FILIO_H
119 #define ACE_HAS_STRSIGNAL
121 /* Turn off the following defines if you want to disable threading. */
122 // Compile using multi-thread libraries.
123 #if !defined (ACE_MT_SAFE)
124 # define ACE_MT_SAFE 1
125 #endif
127 // Platform supports Solaris threads.
128 #define ACE_HAS_STHREADS
130 // Platform supports threads.
131 #define ACE_HAS_THREADS
133 // Compiler/platform has thread-specific storage
134 #define ACE_HAS_THREAD_SPECIFIC_STORAGE
136 // Platform supports reentrant functions (i.e., all the POSIX *_r functions).
137 #define ACE_HAS_REENTRANT_FUNCTIONS
139 /* end threading defines */
141 #define ACE_HAS_PRIOCNTL
142 #define ACE_NEEDS_LWP_PRIO_SET
144 // Reactor detects deadlock
145 // #define ACE_REACTOR_HAS_DEADLOCK_DETECTION
147 // Platform supports ACE_TLI timod STREAMS module.
148 #define ACE_HAS_TIMOD_H
150 // Platform supports ACE_TLI tiuser header.
151 #define ACE_HAS_TIUSER_H
153 // Platform provides ACE_TLI function prototypes.
154 #define ACE_HAS_TLI_PROTOTYPES
156 // Platform supports ACE_TLI.
157 #define ACE_HAS_TLI
159 #define ACE_LACKS_LINEBUFFERED_STREAMBUF
160 #define ACE_LACKS_SIGNED_CHAR
162 // Use the poll() event demultiplexor rather than select().
163 //#define ACE_USE_POLL
165 #define ACE_NEEDS_DEV_IO_CONVERSION
167 // Defines the page size of the system.
168 #define ACE_PAGE_SIZE 4096
169 #define ACE_HAS_IDTYPE_T
171 #define ACE_HAS_GPERF
172 #define ACE_HAS_DIRENT
174 // If exceptions are enabled and we are using Sun/CC then
175 // <operator new> throws an exception instead of returning 0.
176 #define ACE_NEW_THROWS_EXCEPTIONS
178 #include /**/ "ace/post.h"
179 #endif /* ACE_CONFIG_H */