diff options
author | maximius <none@none> | 2009-10-17 15:51:44 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:51:44 -0700 |
commit | e585187b248f48b3c6e9247b49fa07c6565d65e5 (patch) | |
tree | 637c5b7ddacf41040bef4ea4f75a97da64c6a9bc /dep/ACE_wrappers/ace/config-unixware-7.1.0.h | |
parent | 26b5e033ffde3d161382fc9addbfa99738379641 (diff) |
*Backed out changeset 3be01fb200a5
--HG--
branch : trunk
Diffstat (limited to 'dep/ACE_wrappers/ace/config-unixware-7.1.0.h')
-rw-r--r-- | dep/ACE_wrappers/ace/config-unixware-7.1.0.h | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/config-unixware-7.1.0.h b/dep/ACE_wrappers/ace/config-unixware-7.1.0.h index c6d329e9d93..03725638a70 100644 --- a/dep/ACE_wrappers/ace/config-unixware-7.1.0.h +++ b/dep/ACE_wrappers/ace/config-unixware-7.1.0.h @@ -1,38 +1,52 @@ /* -*- C++ -*- */ // $Id: config-unixware-7.1.0.h 82267 2008-07-08 16:39:19Z jtc $ + #ifndef ACE_CONFIG_H #define ACE_CONFIG_H + /* ACE configuration header file */ + /* Include the commong gnu config file */ #include "config-g++-common.h" + /* For unixware 7.1 && g++ 2.91.57, see if this fixes my problem */ #ifndef UNIXWARE_7_1 #define UNIXWARE_7_1 #endif + /* Define if you have alloca, as a function or macro. */ #define HAVE_ALLOCA 1 + /* Define if you have the strftime function. */ #define HAVE_STRFTIME 1 + /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ #define HAVE_SYS_WAIT_H 1 + /* Define if you have the ANSI C header files. */ #define STDC_HEADERS 1 + /* Define if lex declares yytext as a char * by default, not a char[]. */ #define YYTEXT_POINTER 1 + /* Define _REENTRANT if reentrant functions should be used. */ #ifndef _REENTRANT # define _REENTRANT 1 #endif + #define ACE_HAS_NEW_NO_H 1 #define ACE_HAS_STDEXCEPT_NO_H 1 + #define ACE_THREAD_MIN_PRIORITY 0 #if defined (ACE_THREAD_MIN_PRIORITY) # define PTHREAD_MIN_PRIORITY ACE_THREAD_MIN_PRIORITY #endif /* #if defined (ACE_THREAD_MIN_PRIORITY) */ + #define ACE_THREAD_MAX_PRIORITY 99 #if defined (ACE_THREAD_MAX_PRIORITY) # define PTHREAD_MAX_PRIORITY ACE_THREAD_MAX_PRIORITY #endif /* #if defined (ACE_THREAD_MAX_PRIORITY) */ + /* Specify sizes of given built-in types. If a size isn't defined here, then ace/Basic_Types.h will attempt to deduce the size. */ /* #undef ACE_SIZEOF_CHAR */ @@ -44,63 +58,86 @@ #define ACE_SIZEOF_FLOAT 4 #define ACE_SIZEOF_DOUBLE 8 #define ACE_SIZEOF_LONG_DOUBLE 12 + /* Enable ACE inlining */ #define __ACE_INLINE__ 1 + /* OS has priocntl (2) */ #define ACE_HAS_PRIOCNTL 1 + /* Platform has pread() and pwrite() support */ #define ACE_HAS_P_READ_WRITE 1 + /* Compiler/platform supports alloca() */ // Although ACE does have alloca() on this compiler/platform combination, it is // disabled by default since it can be dangerous. Uncomment the following line // if you ACE to use it. //#define ACE_HAS_ALLOCA 1 + /* Compiler/platform correctly calls init()/fini() for shared libraries */ #define ACE_HAS_AUTOMATIC_INIT_FINI 1 + /* Platform doesn't cast MAP_FAILED to a (void *). */ /* #undef ACE_HAS_BROKEN_MAP_FAILED */ /* Staller: oh yes, let's do this! */ #define ACE_HAS_BROKEN_MAP_FAILED + /* Prototypes for both signal() and struct sigaction are consistent. */ #define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES 1 + /* Platform supports operations on directories via struct dirent, readdir_r, etc. */ #define ACE_HAS_DIRENT 1 + /* Compiler supports C++ exception handling */ // MM-Graz if ! defined inserted, to prevent warnings, because it is already // defined in config-g++common.h # if !defined (ACE_HAS_EXCEPTIONS) #define ACE_HAS_EXCEPTIONS 1 # endif + /* Platform supports getpagesize() call (otherwise, ACE_PAGE_SIZE must be defined, except on Win32) */ #define ACE_HAS_GETPAGESIZE 1 + /* Platform supports the getrusage() system call. */ #define ACE_HAS_GETRUSAGE 1 + /* Platform has a getrusage () prototype in sys/resource.h that differs from the one in ace/OS.i. */ #define ACE_HAS_GETRUSAGE_PROTOTYPE 1 + /* Denotes that GNU has cstring.h as standard which redefines memchr() */ #define ACE_HAS_GNU_CSTRING_H + /* The GPERF utility is compiled for this platform */ #define ACE_HAS_GPERF 1 + /* Optimize ACE_Handle_Set::count_bits for select() operations (common case) */ #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT 1 + /* Compiler/platform supports idtype_t. */ #define ACE_HAS_IDTYPE_T 1 + /* Platform supports IP multicast */ #define ACE_HAS_IP_MULTICAST 1 + /* Platform supports thr_keydelete (e.g,. UNIXWARE) */ #define ACE_HAS_THR_KEYDELETE 1 + /* Platform calls thr_minstack() rather than thr_min_stack() (e.g., Tandem). */ #define ACE_HAS_THR_MINSTACK 1 + /* Platform supports recvmsg and sendmsg */ #define ACE_HAS_MSG 1 + /* Platform's select() uses non-const timeval* (only found on Linux right now) */ #define ACE_HAS_NONCONST_SELECT_TIMEVAL 1 + /* Uses ctime_r & asctime_r with only two parameters vs. three. */ #define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R 1 + /* Platform is an Intel Pentium microprocessor. */ /* There is a problem with the gethrtime() because of (apparently) a problem with the inline assembly instruction. Hopefully there is a way to resolve @@ -110,184 +147,267 @@ #undef ACE_HAS_PENTIUM #endif /* ACE_HAS_PENTIUM */ + /* Platform contains <poll.h> */ #define ACE_HAS_POLL 1 + /* Platform supports POSIX O_NONBLOCK semantics */ #define ACE_HAS_POSIX_NONBLOCK 1 + /* Platform supports the POSIX struct timespec type */ #define ACE_HAS_POSIX_TIME 1 + /* Platform supports the /proc file system and defines tid_t in <sys/procfs.h> */ #define ACE_HAS_PROC_FS 1 + /* Platform supports POSIX Threads */ #define ACE_HAS_PTHREADS 1 + /* pthread.h declares an enum with PTHREAD_PROCESS_PRIVATE and PTHREAD_PROCESS_SHARED values */ #define ACE_HAS_PTHREAD_PROCESS_ENUM 1 + /* Platform will recurse infinitely on thread exits from TSS cleanup routines (e.g., AIX) */ #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS 1 + /* Platform supports reentrant functions (i.e., all the POSIX *_r functions). */ #define ACE_HAS_REENTRANT_FUNCTIONS 1 + /* Platform has support for multi-byte character support compliant with the XPG4 Worldwide Portability Interface wide-character classification. */ #define ACE_HAS_XPG4_MULTIBYTE_CHAR 1 + /* Platform does not support reentrant netdb functions (getprotobyname_r, getprotobynumber_r, gethostbyaddr_r, gethostbyname_r, getservbyname_r). */ #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS 1 + /* Platform supports the POSIX regular expression library */ #define ACE_HAS_REGEX 1 + /* Platform has special header for select(). */ #define ACE_HAS_SELECT_H 1 + /* Platform has a function to set t_errno (e.g., Tandem). */ #define ACE_HAS_SET_T_ERRNO 1 + /* Platform supports SVR4 extended signals */ #define ACE_HAS_SIGINFO_T 1 + /* Platform/compiler has the sigwait(2) prototype */ #define ACE_HAS_SIGWAIT 1 + /* Compiler/platform defines the sig_atomic_t typedef */ #define ACE_HAS_SIG_ATOMIC_T 1 + /* Platform supports new BSD inet_addr len field. */ #define ACE_HAS_SOCKADDR_IN_SIN_LEN 1 + /* OS/compiler uses size_t * rather than int * for socket lengths */ #define ACE_HAS_SIZET_SOCKET_LEN 1 + /* Compiler/platform provides the sys/sockio.h file */ #define ACE_HAS_SYS_SOCKIO_H 1 + /* Compiler supports the ssize_t typedef */ #define ACE_HAS_SSIZE_T 1 + /* Platform supports UNIX International Threads */ #define ACE_HAS_STHREADS 1 + /* Platform has thr_yield() */ #define ACE_HAS_THR_YIELD 1 + /* Compiler/platform supports struct strbuf */ #define ACE_HAS_STRBUF_T 1 + /* Platform supports STREAMS */ #define ACE_HAS_STREAMS 1 + /* Platform supports STREAM pipes */ #define ACE_HAS_STREAM_PIPES 1 + /* Compiler/platform supports strerror () */ #define ACE_HAS_STRERROR 1 + /* Platform/Compiler supports a String class (e.g., GNU or Win32). */ #define ACE_HAS_STRING_CLASS 1 + /* Platform has <strings.h> (which contains bzero() prototype) */ #define ACE_HAS_STRINGS 1 + /* Platform/compiler supports void * as second parameter to gettimeofday(). */ #define ACE_HAS_VOIDPTR_GETTIMEOFDAY 1 + /* Compiler/platform supports SVR4 dynamic linking semantics */ #define ACE_HAS_SVR4_DYNAMIC_LINKING 1 + /* Compiler/platform supports SVR4 TLI (in particular, T_GETNAME stuff)... */ #define ACE_HAS_SVR4_TLI 1 + /* Compiler/platform contains the <sys/syscall.h> file. */ #define ACE_HAS_SYS_SYSCALL_H 1 + /* Platform supports system configuration information */ #define ACE_HAS_SYS_SYSTEMINFO_H #define ACE_HAS_SYSINFO 1 + /* Platform supports System V IPC (most versions of UNIX, but not Win32) */ #define ACE_HAS_SYSV_IPC 1 + /* Platform provides <sys/filio.h> header */ #define ACE_HAS_SYS_FILIO_H 1 + /* Platform provides <sys/xti.h> header */ #define ACE_HAS_SYS_XTI_H 1 + /* Platform has POSIX terminal interface. */ #define ACE_HAS_TERMIOS 1 + /* Platform supports threads */ #define ACE_HAS_THREADS 1 + /* Compiler/platform has thread-specific storage */ #define ACE_HAS_THREAD_SPECIFIC_STORAGE 1 + /* Platform supports TLI timod STREAMS module */ #define ACE_HAS_TIMOD_H 1 + /* Platform supports TLI tiuser header */ #define ACE_HAS_TIUSER_H 1 + /* Platform supports TLI. Also see ACE_TLI_TCP_DEVICE. */ #define ACE_HAS_TLI 1 + /* Platform provides TLI function prototypes */ #define ACE_HAS_TLI_PROTOTYPES 1 + /* Platform supports ualarm() */ #define ACE_HAS_UALARM 1 + /* Platform supports ucontext_t (which is used in the extended signal API). */ #define ACE_HAS_UCONTEXT_T 1 + /* Platform has <utime.h> header file */ #define ACE_HAS_UTIME 1 + /* Platform requires void * for mmap(). */ #define ACE_HAS_VOIDPTR_MMAP 1 + /* Platform has XTI (X/Open-standardized superset of TLI). Implies ACE_HAS_TLI but uses a different header file. */ #define ACE_HAS_XTI 1 + /* Platform can not build ace/IOStream{,_T}.cpp. This does not necessarily mean that the platform does not support iostreams. */ #define ACE_LACKS_ACE_IOSTREAM 1 + /* Platform does not have u_longlong_t typedef */ #define ACE_LACKS_U_LONGLONG_T 1 + /* Platform lacks madvise() (e.g., Linux) */ #define ACE_LACKS_MADVISE 1 + /* Platform lacks pri_t (e.g., Tandem NonStop UNIX). */ #define ACE_LACKS_PRI_T 1 + /* Platform lacks pthread_thr_sigsetmask (e.g., MVS, HP/UX, and OSF/1 3.2) */ #define ACE_LACKS_PTHREAD_THR_SIGSETMASK 1 + /* Platfrom lack pthread_yield() support. */ #define ACE_LACKS_PTHREAD_YIELD 1 + /* Platform lacks readers/writer locks. */ #define ACE_LACKS_RWLOCK_T 1 + /* MIT pthreads platform lacks the timedwait prototypes */ #define ACE_LACKS_TIMEDWAIT_PROTOTYPES 1 + /* Platform does not define timepec_t as a typedef for struct timespec. */ #define ACE_LACKS_TIMESPEC_T 1 + /* Compile using multi-thread libraries */ #define ACE_MT_SAFE 1 + /* Platform needs to #include <sched.h> to get thread scheduling defs. */ #define ACE_NEEDS_SCHED_H 1 + /*********************************************************************/ /* Compiler's template mechanim must see source code (i.e., .cpp files). This is used for GNU G++. */ /* Staller -> make 0 */ // #undef ACE_TEMPLATES_REQUIRE_SOURCE + /*********************************************************************/ + /* The OS/platform supports the poll() event demultiplexor */ #define ACE_USE_POLL 1 + /* Platform has its standard c++ library in the namespace std. */ #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 + /* The number of bytes in a double. */ #define SIZEOF_DOUBLE 8 + /* The number of bytes in a float. */ #define SIZEOF_FLOAT 4 + /* The number of bytes in a int. */ #define SIZEOF_INT 4 + /* The number of bytes in a long. */ #define SIZEOF_LONG 4 + /* The number of bytes in a long double. */ #define SIZEOF_LONG_DOUBLE 12 + /* The number of bytes in a long long. */ #define SIZEOF_LONG_LONG 8 + /* The number of bytes in a short. */ #define SIZEOF_SHORT 2 + /* The number of bytes in a signed char. */ #define SIZEOF_SIGNED_CHAR 1 + /* The number of bytes in a void *. */ #define SIZEOF_VOID_P 4 + /* Define if you have the execv function. */ #define HAVE_EXECV 1 + /* Define if you have the execve function. */ #define HAVE_EXECVE 1 + /* Define if you have the execvp function. */ #define HAVE_EXECVP 1 + /* Define if you have the <dirent.h> header file. */ #define HAVE_DIRENT_H 1 + /* Define if you have the <fstream> header file. */ #define HAVE_FSTREAM 1 + /* Define if you have the <iomanip> header file. */ #define HAVE_IOMANIP 1 + /* Define if you have the <iostream> header file. */ #define HAVE_IOSTREAM 1 + /* Define if you have the <pwd.h> header file. */ #define HAVE_PWD_H 1 + /* Name of package */ #define PACKAGE "ace" + /* Added by Staller */ #define ENUM_BOOLEAN // See file /usr/local/lib/gcc-lib/i486-pc-sysv5/egcs-2.91.60/include/sys/types.h #define howmany(x, y) (((x)+((y)-1))/(y)) #define ACE_HAS_BROKEN_T_ERROR // make a nasty warning disappear in OS.i #define __USLC__ 1 #define __IOCTL_VERSIONED__ // By Carlo! + #endif /* ACE_CONFIG_H */ |