Revert to Current Include Style
[ACE_TAO.git] / ACE / ace / config-openvms.h
blob28d8c01c6f1c9e760c3afe97eab6279ad9956a49
1 /* -*- C++ -*- */
2 // The following configuration file is designed to work for OpenVMS 7.3-2
4 #ifndef ACE_CONFIG_H
5 #define ACE_CONFIG_H
7 #ifdef __cplusplus
8 #pragma message disable CODCAUUNR
9 #pragma message disable CODEUNREACHABLE
10 //#pragma message disable DOLLARID
11 //#pragma message disable NOSIMPINT
12 //#pragma message disable NOSTDLONGLONG
13 #pragma message disable NARROWPTR
14 //#pragma message disable LONGEXTERN
15 #pragma message disable UNSCOMZER
16 #endif
18 // Use a signed int to match POSIX
19 #define __SIGNED_INT_TIME_T
21 #define ACE_OPENVMS __VMS_VER
23 #define ACE_DLL_SUFFIX ACE_TEXT("")
25 #define ACE_HAS_DUMP 1
27 // need this includes to ensure proper sequence of definitions so that
28 // f.i. HP C/C++ does not '#define ' memcpy, memmove etc.
29 #include <stdarg.h>
30 #include <stdio.h>
31 #include <string.h>
32 #undef memset
33 #undef memcpy
34 #undef memmove
36 #if defined(__ia64__)
37 // on OpenVMS IA64 we need this get the singleton exported since we build
38 // ACE/TAO with the NOTEMPLATES export option which prohibits exporting
39 // of any template symbols unless explicitly exported
40 #define ACE_HAS_CUSTOM_EXPORT_MACROS
41 #define ACE_Proper_Export_Flag
42 #define ACE_Proper_Import_Flag
43 #define ACE_EXPORT_SINGLETON_DECLARATION(T) template class __declspec (dllexport) T
44 #define ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class __declspec (dllexport) SINGLETON_TYPE<CLASS, LOCK>;
45 #else
46 #define ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION
47 #endif
49 #define ACE_DEFAULT_BASE_ADDR ((char*)(0x30000000))
51 #define ACE_MAX_UDP_PACKET_SIZE 65535
53 #define ACE_HAS_STDCPP_STL_INCLUDES 1
55 /* missing system headers */
56 #define ACE_LACKS_STDINT_H 1
57 #define ACE_LACKS_SYS_IPC_H 1
58 #define ACE_LACKS_SYS_SEM_H 1
59 #define ACE_LACKS_SEMAPHORE_H 1
60 #define ACE_LACKS_SYS_SELECT_H 1
61 #define ACE_LACKS_TERMIOS_H 1
62 #define ACE_LACKS_SYS_SHM_H 1
63 #define ACE_LACKS_SYS_MSG_H 1
64 #define ACE_LACKS_REGEX_H 1
65 #define ACE_LACKS_SEARCH_H 1
66 #define ACE_LACKS_SCHED_H 1
67 #define ACE_LACKS_SYS_SYSCTL_H 1
68 #define ACE_LACKS_MALLOC_H 1
69 #define ACE_LACKS_SYS_PARAM_H 1
70 #define ACE_LACKS_SIGINFO_H 1
71 #define ACE_LACKS_UCONTEXT_H 1
73 /* missing rtl functions */
74 #define ACE_LACKS_SETPGID 1
75 #define ACE_LACKS_SETREUID 1
76 #define ACE_LACKS_SETREGID 1
77 #define ACE_LACKS_FORK 1
78 #define ACE_LACKS_GETPGID 1
79 #define ACE_LACKS_SETSID 1
80 #define ACE_LACKS_FCNTL 1
81 #define ACE_LACKS_SETEGID 1
82 #define ACE_LACKS_SETEUID 1
84 #define ACE_LACKS_REALPATH 1
86 #define ACE_LACKS_SYMLINKS 1
88 #define ACE_HAS_P_READ_WRITE
89 #define ACE_HAS_CHARPTR_DL 1
90 #define ACE_HAS_CLOCK_GETTIME 1
91 #define ACE_HAS_CLOCK_SETTIME 1
92 #define ACE_HAS_VOIDPTR_GETTIMEOFDAY 1
93 #define ACE_HAS_DIRENT 1
94 #define ACE_HAS_GETPAGESIZE 1
95 #define ACE_HAS_MSG
96 #define ACE_HAS_NONCONST_SELECT_TIMEVAL 1
97 #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R 1
98 #define ACE_HAS_3_PARAM_WCSTOK 1
99 #define ACE_HAS_SIGSUSPEND 1
100 #define ACE_HAS_SIGWAIT 1
101 #define ACE_HAS_SIGTIMEDWAIT 1
103 #define ACE_HAS_SIG_C_FUNC 1
104 #define ACE_HAS_SIGISMEMBER_BUG
105 #define ACE_HAS_STRNLEN 1
106 #define ACE_HAS_STREAMS 1
107 #define ACE_HAS_UALARM 1
108 #define ACE_HAS_VOIDPTR_MMAP 1
109 #define ACE_HAS_VOIDPTR_SOCKOPT 1
110 #define ACE_LACKS_LSTAT 1
111 #define ACE_LACKS_MADVISE 1
112 #define ACE_LACKS_MKFIFO 1
113 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1
114 #define ACE_LACKS_READLINK 1
115 #define ACE_LACKS_RLIMIT 1
116 #define ACE_LACKS_RLIMIT_PROTOTYPE 1
117 #define ACE_LACKS_SETSCHED
118 #define ACE_LACKS_SYSCALL 1
119 #define ACE_LACKS_WCSTOULL 1
120 #define ACE_LACKS_WCSTOLL
122 /* (missing) standard data types */
123 #define ACE_LACKS_CONST_TIMESPEC_PTR 1
124 #define ACE_LACKS_SUSECONDS_T 1
125 #define ACE_HAS_IDTYPE_T 1
126 #define ACE_HAS_SIGINFO_T 1
127 #define ACE_HAS_XPG4_MULTIBYTE_CHAR 1
128 #define ACE_HAS_SIZET_SOCKET_LEN 1
129 #define ACE_HAS_SSIZE_T 1
130 #define ACE_LACKS_PRI_T 1
131 #define ACE_LACKS_SEMBUF_T 1
132 #define ACE_LACKS_STRRECVFD 1
133 #define ACE_LACKS_T_ERRNO 1
135 /* POSIX threads compatibilities */
136 #define ACE_LACKS_RWLOCK_T 1
137 #define ACE_LACKS_PTHREAD_KILL 1
138 #define ACE_LACKS_THREAD_PROCESS_SCOPING 1
140 #define ACE_HAS_PTHREADS 1
141 #define ACE_HAS_PTHREAD_PROCESS_ENUM 1
142 #define ACE_LACKS_UNNAMED_SEMAPHORE 1
143 #define ACE_MT_SAFE 1
144 #define ACE_HAS_THREADS 1
145 #define ACE_HAS_THREAD_SPECIFIC_STORAGE 1
146 #define ACE_HAS_THR_C_DEST 1
147 #define ACE_HAS_THR_C_FUNC 1
148 #define ACE_LACKS_PTHREAD_SIGMASK 1
149 #define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1
150 #define ACE_NEEDS_HUGE_THREAD_STACKSIZE (64U*1024)
151 #define ACE_HAS_PTHREAD_SETCONCURRENCY 1
152 #define ACE_HAS_PTHREAD_GETCONCURRENCY 1
153 #define ACE_HAS_PTHREAD_SCHEDPARAM 1
155 /* language/platform conformance */
156 #define ACE_NEW_THROWS_EXCEPTIONS 1
157 #define ACE_TEMPLATES_REQUIRE_SOURCE 1
158 #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1
159 #define ACE_HAS_AUTOMATIC_INIT_FINI 1
160 #define ACE_LACKS_UNIX_SIGNALS 1
162 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1
163 #define ACE_HAS_CPLUSPLUS_HEADERS 1
164 #define ACE_LACKS_LINEBUFFERED_STREAMBUF 1
166 #define ACE_HAS_GPERF 1
167 #define ACE_HAS_IP_MULTICAST 1
168 #define ACE_LACKS_PERFECT_MULTICAST_FILTERING 1
169 #define ACE_HAS_POSIX_NONBLOCK 1
170 #define ACE_HAS_POSIX_TIME 1
171 #define ACE_HAS_BROKEN_POSIX_TIME 1
172 #define ACE_HAS_STANDARD_CPP_LIBRARY 1
173 #define ACE_HAS_STRING_CLASS 1
174 #define ACE_HAS_SVR4_DYNAMIC_LINKING 1
176 #define ACE_LACKS_NAMED_POSIX_SEM 1
177 #define ACE_LACKS_SYSV_SHMEM 1
178 #define ACE_LACKS_UNIX_DOMAIN_SOCKETS 1
179 #define ACE_LACKS_UNIX_SYSLOG 1
180 #define ACE_LACKS_ALPHASORT 1
181 #define ACE_LACKS_ISCTYPE
182 #define ACE_LACKS_ISBLANK
184 #define ACE_LACKS_SETENV
185 #define ACE_LACKS_UNSETENV
187 #define ACE_HAS_SOCK_BUF_SIZE_MAX
188 #define ACE_HAS_SOCK_BUF_SIZE_MAX_VALUE 65535
190 #endif