Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / config-lynxos.h
blobf124c8b94ba4fa0dedd3abcce532f4935e69dc4f
1 // The following configuration file is designed to work for LynxOS,
2 // version 4.0.0 and later, using the GNU g++ compiler.
4 #ifndef ACE_CONFIG_LYNXOS_H
5 #define ACE_CONFIG_LYNXOS_H
6 #include /**/ "ace/pre.h"
8 // System include files are not in sys/, this gets rid of warning.
9 #define __NO_INCLUDE_WARN__
11 #define __FREEBSDCODE__
12 #include <param.h>
13 #undef __FREEBSDCODE__
15 #include "ace/config-g++-common.h"
17 // Compile using multi-thread libraries.
18 #if !defined (ACE_MT_SAFE)
19 # define ACE_MT_SAFE 1
20 #endif
22 #include "ace/config-posix.h"
24 #if defined (__x86__)
25 # define ACE_HAS_PENTIUM
26 #elif defined (__powerpc__)
27 // It looks like the default stack size is 15000.
28 // ACE's Recursive_Mutex_Test needs more.
29 # define ACE_NEEDS_HUGE_THREAD_STACKSIZE 65536
30 // This doesn't work on LynxOS 3.0.0, because it resets the TimeBaseRegister.
31 // # define ACE_HAS_POWERPC_TIMER
32 #endif /* __x86__ || __powerpc__ */
34 #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
35 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
36 #define ACE_HAS_ALLOCA
37 #define ACE_HAS_ALLOCA_H
38 #define ACE_HAS_AUTOMATIC_INIT_FINI
39 #define ACE_HAS_BROKEN_PREALLOCATED_OBJECTS_AFTER_FORK 1
40 #define ACE_HAS_BROKEN_SIGEVENT_STRUCT
41 #define ACE_HAS_CHARPTR_SHMAT
42 #define ACE_HAS_CHARPTR_SHMDT
43 #define ACE_HAS_CLOCK_GETTIME
44 #define ACE_HAS_CLOCK_SETTIME
45 #define ACE_HAS_DIRENT
46 #define ACE_HAS_GETIFADDRS
47 #define ACE_HAS_GETPAGESIZE
48 #define ACE_HAS_GETRUSAGE
49 #define ACE_HAS_GETRUSAGE_PROTOTYPE
50 #define ACE_HAS_GPERF
51 #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT
52 #define ACE_HAS_ICMP_SUPPORT 1
53 #define ACE_HAS_IP_MULTICAST
54 #define ACE_HAS_MEMCHR
55 #define ACE_HAS_MKDIR
56 #define ACE_HAS_MSG
57 #define ACE_HAS_NANOSLEEP
58 #define ACE_HAS_NONCONST_CLOCK_SETTIME
59 #define ACE_HAS_NONCONST_MSGSND
60 #define ACE_HAS_NONCONST_READV
61 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
62 #define ACE_HAS_NONCONST_SETRLIMIT
63 #define ACE_HAS_NONCONST_WRITEV
64 #define ACE_HAS_POSIX_NONBLOCK
65 #define ACE_HAS_POSIX_TIME
66 #define ACE_HAS_PTHREADS_UNIX98_EXT
67 #define ACE_HAS_PTHREAD_GETCONCURRENCY
68 #define ACE_HAS_PTHREAD_SETCONCURRENCY
69 #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS
70 #define ACE_HAS_REENTRANT_FUNCTIONS
71 #define ACE_HAS_SCANDIR
72 #define ACE_HAS_SIGACTION_CONSTP2
73 #define ACE_HAS_SIGINFO_T
74 #define ACE_HAS_SIGSUSPEND
75 #define ACE_HAS_SIGTIMEDWAIT
76 #define ACE_HAS_SIGWAIT
77 #define ACE_HAS_SIG_ATOMIC_T
78 #define ACE_HAS_SIG_C_FUNC
79 #define ACE_HAS_SOCKADDR_IN6_SIN6_LEN
80 #define ACE_HAS_SOCKADDR_IN_SIN_LEN
81 #define ACE_HAS_SOCKADDR_MSG_NAME
82 #define ACE_HAS_SOCKLEN_T
83 #define ACE_HAS_SSIZE_T
84 #define ACE_HAS_STREAMS
85 #define ACE_HAS_STRINGS
86 #define ACE_HAS_SYSCTL
87 #define ACE_HAS_SYS_FILIO_H
88 #define ACE_HAS_SYS_SOCKIO_H
89 #define ACE_HAS_TERMIOS
90 #define ACE_HAS_THREAD_SPECIFIC_STORAGE
91 #define ACE_HAS_TIMEZONE_GETTIMEOFDAY
92 #define ACE_HAS_VSNPRINTF_EMULATION
94 #define ACE_LACKS_ALPHASORT_PROTOTYPE
95 #define ACE_LACKS_ISCTYPE
96 #define ACE_LACKS_MADVISE
97 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS
98 #define ACE_LACKS_REALPATH
99 #define ACE_LACKS_SCANDIR_PROTOTYPE
100 #define ACE_LACKS_SIGINFO_H
101 #define ACE_LACKS_STRPTIME
102 #define ACE_LACKS_SUSECONDS_T
103 #define ACE_LACKS_TIMESPEC_T
104 #define ACE_LACKS_UCONTEXT_H
105 #define ACE_LACKS_STD_WSTRING
107 #define ACE_DEFAULT_BASE_ADDR ((char *) 0)
108 #define ACE_EXPLICIT_TEMPLATE_DESTRUCTOR_TAKES_ARGS
109 #define ACE_MALLOC_ALIGN 8
110 #define ACE_PAGE_SIZE 4096
111 #define ACE_POSIX_SIG_PROACTOR
112 #define ACE_SCANDIR_CMP_USES_CONST_VOIDPTR
114 // LynxOS has poll.h but it is unusable since implementation is not provided
115 #define ACE_LACKS_POLL_H
117 #if defined (ACE_HAS_SVR4_DYNAMIC_LINKING)
118 # define ACE_HAS_BROKEN_THREAD_KEYFREE
119 #endif /* ACE_HAS_SVR4_DYNAMIC_LINKING */
121 // LynxOS 5.0
122 #define ACE_HAS_POSIX_SEM_TIMEOUT
123 #define ACE_HAS_MUTEX_TIMEOUTS
124 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
125 #define ACE_HAS_NONCONST_INET_ADDR
126 #define ACE_LACKS_INET_ATON_PROTOTYPE
127 #define ACE_LACKS_SEMBUF_T
128 #define ACE_LACKS_STROPTS_H
129 #define ACE_LACKS_STRRECVFD
130 #define ACE_LACKS_SYS_SEM_H
131 #define ACE_SYS_SIGLIST __sys_siglist
133 #include /**/ "ace/post.h"
135 #endif /* ACE_CONFIG_LYNXOS_H */