*Backed out changeset 3be01fb200a5
--HG-- branch : trunk
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// -*- C++ -*-
|
||||
|
||||
#ifndef ACE_INT_CONFIG_H
|
||||
#define ACE_INT_CONFIG_H
|
||||
|
||||
/*
|
||||
* This config.h file is for version 4.0.x of the
|
||||
* Integrity RTOS with SCA from Green Hills Software
|
||||
@@ -8,6 +10,7 @@
|
||||
*
|
||||
* $Id: config-integritySCA.h 81935 2008-06-12 22:01:53Z jtc $
|
||||
*/
|
||||
|
||||
#define ghs
|
||||
/* compilation defines */
|
||||
#define ACE_LACKS_GETPGID
|
||||
@@ -22,6 +25,7 @@
|
||||
#define ACE_LACKS_GETUID
|
||||
#define ACE_LACKS_GETEGID
|
||||
#define ACE_LACKS_GETGID
|
||||
|
||||
#ifndef ACE_HAS_EXCEPTIONS
|
||||
#define ACE_HAS_EXCEPTIONS
|
||||
#endif
|
||||
@@ -33,17 +37,24 @@
|
||||
#define ACE_NEEDS_FUNC_DEFINITIONS
|
||||
#define _REENTRANT
|
||||
#define ACE_MT_SAFE 1
|
||||
|
||||
// Compiler/platform has correctly prototyped header files.
|
||||
#define ACE_HAS_CPLUSPLUS_HEADERS
|
||||
|
||||
#define ACE_HAS_SHM_OPEN
|
||||
|
||||
/***** Operating System Defines *****/
|
||||
|
||||
/***** ANSI defines *****/
|
||||
#define ACE_LACKS_TEMPNAM /* believe it or not, this is ANSI C */
|
||||
#define ACE_HAS_STRERROR
|
||||
|
||||
|
||||
#define ACE_LACKS_SENDMSG
|
||||
|
||||
/***** End Stack Defines *****/
|
||||
|
||||
|
||||
/* SCA STUFF */
|
||||
#if defined(INTEGRITY_VERSION) && (INTEGRITY_VERSION >= 40108)
|
||||
#define ACE_HAS_SIG_ATOMIC_T
|
||||
@@ -56,16 +67,22 @@
|
||||
#define ACE_HAS_SIG_C_FUNC
|
||||
#define ACE_LACKS_SI_ADDR
|
||||
#define ACE_HAS_AIO_CALLS
|
||||
|
||||
#define ACE_HAS_POSIX_NONBLOCK
|
||||
#define ACE_HAS_DIRENT
|
||||
|
||||
#define ACE_HAS_THREADS
|
||||
|
||||
#define ACE_HAS_PTHREADS
|
||||
/***** End Threading Defines *****/
|
||||
|
||||
/***** Hardware Defines *****/
|
||||
#define ACE_PAGE_SIZE 4096
|
||||
/***** End Hardware Defines *****/
|
||||
|
||||
/****** SYSV_IPC STUFF *****/
|
||||
#define ACE_LACKS_KEY_T
|
||||
|
||||
/****** Posix Defines *****/
|
||||
#define ACE_LACKS_WAIT
|
||||
#define ACE_LACKS_WAITPID
|
||||
@@ -125,9 +142,11 @@
|
||||
#define ACE_LACKS_GETOPT
|
||||
/* below refers to fcntl style locking */
|
||||
#define ACE_LACKS_FILELOCKS
|
||||
|
||||
#define ACE_LACKS_REALPATH
|
||||
#define ACE_HAS_CONST_CHAR_SWAB
|
||||
#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
|
||||
|
||||
/***** Not tied to standards AFAIK ****/
|
||||
#define ACE_LACKS_MADVISE /* paging optimization not needed with INTEGRITY */
|
||||
#define ACE_LACKS_MALLOC_H /* netbsd's just includes stdlib.h */
|
||||
@@ -145,20 +164,28 @@
|
||||
#define ACE_LACKS_POLL_H
|
||||
#define ACE_LACKS_SYS_SHM_H
|
||||
#define ACE_LACKS_TERMIOS_H
|
||||
|
||||
/***** STUFF INTEGRITY 4.0.8 APPEARS TO SUPPORT ****/
|
||||
/* note, possibly untested with ace */
|
||||
|
||||
/***** TAO STUFF ****/
|
||||
#define TAO_USE_DOTTED_DECIMAL_ADDRESSES 1
|
||||
|
||||
#include <INTEGRITY.h>
|
||||
|
||||
#include <time.h>
|
||||
|
||||
typedef void (*__sighandler_t)(int);
|
||||
|
||||
extern "C"
|
||||
{
|
||||
inline int isatty(int) { return 0; }
|
||||
}
|
||||
|
||||
#ifdef ppc
|
||||
#define ACE_HAS_POWERPC_TIMER
|
||||
#endif
|
||||
|
||||
/* MIKEC Addtions */
|
||||
#define ACE_HAS_NONCONST_SELECT_TIMEVAL
|
||||
#include <sys/uio.h> // needed to define iovec
|
||||
@@ -182,10 +209,13 @@ extern "C"
|
||||
#define ACE_THR_PRI_OTHER_DEF 127
|
||||
#define ACE_PTHREAD_RETURN_ON_EXIT
|
||||
#undef ACE_LACKS_UNLINK
|
||||
|
||||
#define ACE_HAS_TIMED_MESSAGE_BLOCKS
|
||||
|
||||
extern "C" {
|
||||
int unlink(const char *);
|
||||
}
|
||||
|
||||
#define ACE_LACKS_SETSID
|
||||
#define ACE_HAS_VOIDPTR_GETTIMEOFDAY
|
||||
#define ACE_LACKS_UNIX_SYSLOG
|
||||
@@ -193,9 +223,12 @@ int unlink(const char *);
|
||||
#define ACE_LACKS_SEEKDIR
|
||||
#define ACE_LACKS_GETHOSTENT
|
||||
|
||||
|
||||
/* end MIKEC Addtions */
|
||||
|
||||
// Hack to avoid ensure that things defined in ind_io.h
|
||||
// have the right linkage
|
||||
#include <unistd.h>
|
||||
|
||||
#endif /* ACE_CONFIG_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user