Cleanup Solaris support
[ACE_TAO.git] / ACE / ace / config-sunos5.4-sunc++-4.x.h
blobc9114bcd20b02f45af2e942f0085b1f392754dd2
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 supports SunOS high resolution timers.
50 #define ACE_HAS_HI_RES_TIMER
52 // Platform supports IP multicast
53 #define ACE_HAS_IP_MULTICAST
55 // Compiler/platform supports alloca()
56 // Although ACE does have alloca() on this compiler/platform combination, it is
57 // disabled by default since it can be dangerous. Uncomment the following line
58 // if you ACE to use it.
59 //#define ACE_HAS_ALLOCA
61 // Compiler/platform has <alloca.h>
62 #define ACE_HAS_ALLOCA_H
64 // Platform contains <poll.h>.
65 #define ACE_HAS_POLL
67 // Platform supports POSIX timers via timestruc_t.
68 #define ACE_HAS_POSIX_TIME
70 // Platform supports the /proc file system.
71 #define ACE_HAS_PROC_FS
73 // Platform supports the prusage_t struct.
74 #define ACE_HAS_PRUSAGE_T
76 // Compiler/platform defines the sig_atomic_t typedef.
77 #define ACE_HAS_SIG_ATOMIC_T
79 // Platform supports SVR4 extended signals.
80 #define ACE_HAS_SIGINFO_T
81 #define ACE_HAS_UCONTEXT_T
83 // Compiler/platform provides the sockio.h file.
84 #define ACE_HAS_SYS_SOCKIO_H
86 // Compiler supports the ssize_t typedef.
87 #define ACE_HAS_SSIZE_T
89 // Platform supports STREAMS.
90 #define ACE_HAS_STREAMS
92 // Platform supports STREAM pipes.
93 #define ACE_HAS_STREAM_PIPES
95 // Compiler/platform supports struct strbuf.
96 #define ACE_HAS_STRBUF_T
98 // Compiler/platform supports SVR4 dynamic linking semantics.
99 #define ACE_HAS_SVR4_DYNAMIC_LINKING
101 // Compiler/platform supports SVR4 gettimeofday() prototype.
102 #define ACE_HAS_SVR4_GETTIMEOFDAY
104 // Compiler/platform supports SVR4 signal typedef.
105 #define ACE_HAS_SVR4_SIGNAL_T
107 // Platform lacks pthread_sigaction
108 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK
110 // Compiler/platform supports SVR4 ACE_TLI (in particular, T_GETNAME stuff)...
111 #define ACE_HAS_SVR4_TLI
113 // Platform provides <sys/filio.h> header.
114 #define ACE_HAS_SYS_FILIO_H
116 #define ACE_HAS_STRSIGNAL
118 /* Turn off the following defines if you want to disable threading. */
119 // Compile using multi-thread libraries.
120 #if !defined (ACE_MT_SAFE)
121 # define ACE_MT_SAFE 1
122 #endif
125 // Platform supports threads.
126 #define ACE_HAS_THREADS
128 // Compiler/platform has thread-specific storage
129 #define ACE_HAS_THREAD_SPECIFIC_STORAGE
131 // Platform supports reentrant functions (i.e., all the POSIX *_r functions).
132 #define ACE_HAS_REENTRANT_FUNCTIONS
134 /* end threading defines */
136 #define ACE_NEEDS_LWP_PRIO_SET
138 // Reactor detects deadlock
139 // #define ACE_REACTOR_HAS_DEADLOCK_DETECTION
141 // Platform supports ACE_TLI timod STREAMS module.
142 #define ACE_HAS_TIMOD_H
144 // Platform supports ACE_TLI tiuser header.
145 #define ACE_HAS_TIUSER_H
147 // Platform provides ACE_TLI function prototypes.
148 #define ACE_HAS_TLI_PROTOTYPES
150 // Platform supports ACE_TLI.
151 #define ACE_HAS_TLI
153 #define ACE_LACKS_LINEBUFFERED_STREAMBUF
154 #define ACE_LACKS_SIGNED_CHAR
156 // Use the poll() event demultiplexor rather than select().
157 //#define ACE_USE_POLL
159 #define ACE_NEEDS_DEV_IO_CONVERSION
161 // Defines the page size of the system.
162 #define ACE_PAGE_SIZE 4096
163 #define ACE_HAS_IDTYPE_T
165 #define ACE_HAS_GPERF
166 #define ACE_HAS_DIRENT
168 #include /**/ "ace/post.h"
169 #endif /* ACE_CONFIG_H */