Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / config-integritySCA.h
blob92495ed7cd365982ed058b668be4240178ed0f92
1 // -*- C++ -*-
3 #ifndef ACE_INT_CONFIG_H
4 #define ACE_INT_CONFIG_H
6 /*
7 * This config.h file is for version 4.0.x of the
8 * Integrity RTOS with SCA from Green Hills Software
9 * http://www.ghs.com/products/rtos/integrity.html
12 #define ghs
13 /* compilation defines */
14 #define ACE_LACKS_GETPGID
15 #define ACE_LACKS_SETPGID
16 #define ACE_LACKS_SETREUID
17 #define ACE_LACKS_SETREGID
18 #define ACE_LACKS_SETSID
19 #define ACE_LACKS_SETEGID
20 #define ACE_LACKS_SETUID
21 #define ACE_LACKS_SETEUID
22 #define ACE_LACKS_GETEUID
23 #define ACE_LACKS_GETUID
24 #define ACE_LACKS_GETEGID
25 #define ACE_LACKS_GETGID
27 #define TAO_USE_SEQUENCE_TEMPLATES
28 #define _REENTRANT
29 #define ACE_MT_SAFE 1
31 #define ACE_HAS_SHM_OPEN
33 /***** Operating System Defines *****/
35 /***** ANSI defines *****/
36 #define ACE_LACKS_TEMPNAM /* believe it or not, this is ANSI C */
37 #define ACE_LACKS_PUTENV_PROTOTYPE
39 #define ACE_LACKS_SENDMSG
41 /***** End Stack Defines *****/
44 /* SCA STUFF */
45 #if defined(INTEGRITY_VERSION) && (INTEGRITY_VERSION >= 40108)
46 #define ACE_HAS_SIG_ATOMIC_T
47 #endif /* INTEGRITY_VERSION */
48 #define ACE_HAS_SIGWAIT
49 #define ACE_HAS_SIGACTION
50 #define ACE_HAS_SIGINFO_T
51 #define ACE_LACKS_SIGINFO_H
52 #define ACE_LACKS_UCONTEXT_H
53 #define ACE_HAS_SIG_C_FUNC
54 #define ACE_LACKS_SI_ADDR
55 #define ACE_HAS_AIO_CALLS
57 #define ACE_HAS_POSIX_NONBLOCK
58 #define ACE_HAS_DIRENT
60 #define ACE_HAS_THREADS
62 #define ACE_HAS_PTHREADS
63 /***** End Threading Defines *****/
65 /***** Hardware Defines *****/
66 #define ACE_PAGE_SIZE 4096
67 /***** End Hardware Defines *****/
69 /****** SYSV_IPC STUFF *****/
70 #define ACE_LACKS_KEY_T
72 /****** Posix Defines *****/
73 #define ACE_LACKS_WAIT
74 #define ACE_LACKS_WAITPID
75 #define ACE_HAS_POSIX_TIME
76 #define ACE_HAS_POSIX_SEM
77 #define ACE_HAS_STRDUP_EMULATION
78 #define ACE_HAS_MSG
79 #define ACE_LACKS_CONDATTR_PSHARED
80 #define ACE_LACKS_EXEC
81 #define ACE_LACKS_FORK
82 #define ACE_LACKS_MKFIFO
83 #define ACE_LACKS_MKTEMP
84 #define ACE_LACKS_MKSTEMP
85 #define ACE_LACKS_MPROTECT
86 #define ACE_LACKS_MUTEXATTR_PSHARED
87 #define ACE_LACKS_RLIMIT
88 #define ACE_LACKS_RECVMSG
89 #define ACE_LACKS_RWLOCK_T
90 #define ACE_LACKS_SEMBUF_T
91 #define ACE_LACKS_UNIX_DOMAIN_SOCKETS
92 #define ACE_LACKS_FCNTL
93 #define ACE_LACKS_UMASK
94 #define ACE_LACKS_SEEK
95 #define ACE_LACKS_MSYNC
96 #define ACE_LACKS_PID_STUFF
97 #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS
98 #define ACE_LACKS_SETGID
99 #define ACE_LACKS_PIPE
100 #define ACE_LACKS_SYS_PARAM_H
101 #define ACE_LACKS_SYS_MSG_H
102 #define ACE_LACKS_UTSNAME_T
103 #define ACE_LACKS_UNAME
104 #define ACE_LACKS_UMASK
105 #define ACE_LACKS_ISATTY
106 #define ACE_LACKS_GETOPT
107 #define ACE_LACKS_STRCASECMP
108 #define ACE_LACKS_TRUNCATE
109 #define ACE_LACKS_PWD_FUNCTIONS
110 #define ACE_LACKS_UNIX_SIGNALS
111 #define ACE_HAS_THREAD_SPECIFIC_STORAGE
112 #define ACE_LACKS_SYSV_SHMEM
113 #define ACE_LACKS_PUTENV
114 #define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
115 #define ACE_HAS_CLOCK_GETTIME
116 #define ACE_HAS_CLOCK_SETTIME
117 #define ACE_LACKS_THREAD_PROCESS_SCOPING
118 #define ACE_LACKS_SETSCHED
119 #define ACE_LACKS_STRRECVFD
120 #define ACE_LACKS_WRITEV
121 #define ACE_LACKS_READV
122 #define ACE_LACKS_SYSCONF
123 #define ACE_LACKS_GETOPT
124 /* below refers to fcntl style locking */
125 #define ACE_LACKS_FILELOCKS
127 #define ACE_LACKS_REALPATH
128 #define ACE_HAS_CONST_CHAR_SWAB
129 #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
131 /***** Not tied to standards AFAIK ****/
132 #define ACE_LACKS_MADVISE /* paging optimization not needed with INTEGRITY */
133 #define ACE_LACKS_INTTYPES_H
134 #define ACE_LACKS_SYS_RESOURCE_H
135 #define ACE_LACKS_SYS_WAIT_H
136 #define ACE_LACKS_SEARCH_H
137 #define ACE_LACKS_SYS_IPC_H
138 #define ACE_LACKS_SYS_SEM_H
139 #define ACE_LACKS_PWD_H
140 #define ACE_LACKS_STROPTS_H
141 #define ACE_LACKS_DLFCN_H
142 #define ACE_LACKS_REGEX_H
143 #define ACE_LACKS_POLL_H
144 #define ACE_LACKS_SYS_SHM_H
145 #define ACE_LACKS_TERMIOS_H
147 /***** STUFF INTEGRITY 4.0.8 APPEARS TO SUPPORT ****/
148 /* note, possibly untested with ace */
150 /***** TAO STUFF ****/
151 #define TAO_USE_DOTTED_DECIMAL_ADDRESSES 1
153 #include <INTEGRITY.h>
155 #include <time.h>
157 typedef void (*__sighandler_t)(int);
159 extern "C"
161 inline int isatty(int) { return 0; }
164 #ifdef ppc
165 #define ACE_HAS_POWERPC_TIMER
166 #endif
168 /* MIKEC Addtions */
169 #define ACE_HAS_NONCONST_SELECT_TIMEVAL
170 #include <sys/uio.h> // needed to define iovec
171 #define ACE_LACKS_READLINK
172 #define ACE_LACKS_GETPPID
173 #define NSIG (SIGRTMAX+1)
174 #define ACE_LACKS_CUSERID
175 #define ACE_NEEDS_HUGE_THREAD_STACKSIZE 0x5000
176 #define fileno(file) ((file)->io_channel) //Hack to get Svc_Conf_l.cpp compiled
177 #define ACE_DEFAULT_THREAD_PRIORITY 127
178 #define PRI_FIFO_MIN 1
179 #define PRI_FIFO_MAX 127
180 #define ACE_THR_PRI_FIFO_DEF 127
181 #define PRI_RR_MIN 1
182 #define PRI_RR_MAX 127
183 #define ACE_THR_PRI_RR_DEF 127
184 #define PRI_OTHER_MIN 1
185 #define PRI_OTHER_MAX 127
186 #define ACE_THR_PRI_OTHER_DEF 127
187 #define ACE_PTHREAD_RETURN_ON_EXIT
188 #undef ACE_LACKS_UNLINK
190 #define ACE_HAS_TIMED_MESSAGE_BLOCKS
192 extern "C" {
193 int unlink(const char *);
196 #define ACE_LACKS_SETSID
197 #define ACE_HAS_VOIDPTR_GETTIMEOFDAY
198 #define ACE_LACKS_UNIX_SYSLOG
199 #define ACE_LACKS_TELLDIR
200 #define ACE_LACKS_SEEKDIR
201 #define ACE_LACKS_GETHOSTENT
204 /* end MIKEC Addtions */
206 // Hack to avoid ensure that things defined in ind_io.h
207 // have the right linkage
208 #include <unistd.h>
210 #endif /* ACE_CONFIG_H */