diff options
Diffstat (limited to 'ace/config-hpux-11.00.h')
-rw-r--r-- | ace/config-hpux-11.00.h | 70 |
1 files changed, 10 insertions, 60 deletions
diff --git a/ace/config-hpux-11.00.h b/ace/config-hpux-11.00.h index 63a08044532..5e812f3df7f 100644 --- a/ace/config-hpux-11.00.h +++ b/ace/config-hpux-11.00.h @@ -125,7 +125,6 @@ // new(nothrow_t) is offered. # define ACE_NEW_THROWS_EXCEPTIONS # define ACE_HAS_NEW_NOTHROW -# define ACE_HAS_NEW_NO_H 1 // Compiler's template mechanism must see source code (i.e., .C files). # define ACE_TEMPLATES_REQUIRE_SOURCE @@ -135,8 +134,6 @@ // ... and uses the template<> syntax # define ACE_HAS_STD_TEMPLATE_SPECIALIZATION -# define ACE_HAS_STD_TEMPLATE_CLASS_MEMBER_SPECIALIZATION - // Preprocessor needs some help with data types # if defined (__LP64__) # define ACE_SIZEOF_LONG 8 @@ -210,6 +207,12 @@ // It can also be set so that the mapped region is shareable with 32-bit // programs. To enable the 32/64 sharing, comment out the first definition // of ACE_DEFAULT_BASE_ADDR and uncomment the two lines after it. +// Note - there's a compiler bug on aC++ A.03.04 in 64-bit mode which prevents +// these from working as-is. So, there's some hackery in Naming_Context.cpp +// and Memory_Pool.cpp which works around it. It requires the +// ACE_DEFAULT_BASE_ADDRL definition below - make sure it has the same +// value as what you use for ACE_DEFAULT_BASE_ADDR. This is allegedly fixed +// in A.03.10 on the June Applications CD. #if defined (__LP64__) # define ACE_DEFAULT_BASE_ADDR ((char *) 0x0000001100000000) //# define ACE_DEFAULT_BASE_ADDR ((char *) 0x80000000) @@ -230,9 +233,6 @@ # define ACE_INFINITE 10000000 #endif -/* Compiler/platform correctly calls init()/fini() for shared libraries. */ -#define ACE_HAS_AUTOMATIC_INIT_FINI 1 - // Manually tweak the malloc control block paddings to properly align // things. #define ACE_MALLOC_PADDING 16 @@ -240,10 +240,7 @@ #define ACE_PI_CONTROL_BLOCK_ALIGN_LONGS 3 // Compiler/platform contains the <sys/syscall.h> file. -#define ACE_HAS_SYS_SYSCALL_H - -#define ACE_HAS_SYS_PSTAT_H - +#define ACE_HAS_SYSCALL_H // But doesn't have a prototype for syscall() #define ACE_LACKS_SYSCALL @@ -273,12 +270,6 @@ // Platform supports IP multicast #define ACE_HAS_IP_MULTICAST -/* Platform defines MAP_FAILED as a long constant. */ -#define ACE_HAS_LONG_MAP_FAILED 1 - -/* Define to 1 if platform has memchr(). */ -#define ACE_HAS_MEMCHR 1 - // Platform supports recvmsg and sendmsg. #define ACE_HAS_MSG @@ -288,26 +279,12 @@ // Compiler/platform supports poll(). #define ACE_HAS_POLL -/* Platform supports "position-independent" features provided by - ACE_Based_Pointer<>. */ -#define ACE_HAS_POSITION_INDEPENDENT_POINTERS 1 - -/* Platform supports POSIX getpwnam_r() function */ -#define ACE_HAS_POSIX_GETPWNAM_R 1 - // Platform supports POSIX O_NONBLOCK semantics. #define ACE_HAS_POSIX_NONBLOCK // Platform supports the POSIX struct timespec type #define ACE_HAS_POSIX_TIME -/* Platform has pread() and pwrite() support. */ -#define ACE_HAS_P_READ_WRITE 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 (all the POSIX *_r functions). #define ACE_HAS_REENTRANT_FUNCTIONS // ctime_r and asctime_r conform to POSIX.1c (2 param version) @@ -321,36 +298,21 @@ // in the future (problem ID P64). #define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS -/* Platform lacks pri_t (e.g., Tandem NonStop UNIX). */ -#define ACE_LACKS_PRI_T 1 - // Platform has shm_open #define ACE_HAS_SHM_OPEN // Compiler/platform defines the sig_atomic_t typedef #define ACE_HAS_SIG_ATOMIC_T -/* Compiler requires extern "C" functions for signals. */ -#define ACE_HAS_SIG_C_FUNC 1 - // Platform's sigaction() function takes const sigaction* as 2nd parameter. #define ACE_HAS_SIGACTION_CONSTP2 // Platform supports SVR4 extended signals #define ACE_HAS_SIGINFO_T -/* Define to 1 if platform has sigsuspend(). */ -#define ACE_HAS_SIGSUSPEND 1 - // Platform doesn't detect a signal out of range unless it's way out of range. #define ACE_HAS_SIGISMEMBER_BUG -/* Platform provides socklen_t type, such as Linux with glibc2. */ -#define ACE_HAS_SOCKLEN_T 1 - -/* Platform/compiler supports _sys_errlist symbol */ -#define ACE_HAS_SYS_ERRLIST 1 - #define ACE_HAS_UALARM // Platform supports ucontext_t (which is used in the extended signal API). @@ -362,24 +324,17 @@ // Platform/compiler supports void * as second parameter to gettimeofday(). #define ACE_HAS_VOIDPTR_GETTIMEOFDAY -/* Platform requires void * for mmap(). */ -#define ACE_HAS_VOIDPTR_MMAP 1 - -/* OS/compiler uses void * arg 4 setsockopt() rather than const char * */ -#define ACE_HAS_VOIDPTR_SOCKOPT 1 - // Platform supports SVR4 dynamic linking semantics, in 64-bit mode only. // When used, this requires -ldl on the ACE library link line. #ifdef __LP64__ #define ACE_HAS_SVR4_DYNAMIC_LINKING #endif -// Platform supports the getrusage() system call. +// HP/UX has an undefined syscall for GETRUSAGE... +#define ACE_HAS_SYSCALL_GETRUSAGE +// Note, this only works if the flag is set above! #define ACE_HAS_GETRUSAGE -/* Define to 1 if platform has the declaration of getrusage(). */ -#define ACE_HAS_GETRUSAGE_PROTOTYPE 1 - // Platform has the sigwait function in a header file #define ACE_HAS_SIGWAIT #define ACE_HAS_SIGTIMEDWAIT @@ -417,8 +372,6 @@ // But the putmsg signature doesn't have it as const... // Well, it really does, but it depends on preprocessor defines. #define ACE_LACKS_CONST_STRBUF_PTR -/* Platform supports TLI timod STREAMS module */ -#define ACE_HAS_TIMOD_H 1 // Platform supports STREAM pipes // This is possible, but not by default - need to rebuild the kernel to @@ -439,8 +392,6 @@ // The definitions of TCP_NODELAY and TCP_MAXSEG conflict between // sys/xti.h and netinet/tcp.h. #define ACE_HAS_CONFLICTING_XTI_MACROS -/* Platform provides <sys/xti.h> header */ -#define ACE_HAS_SYS_XTI_H 1 ///////////////////////////////////////////////////////////////////////// // @@ -475,7 +426,6 @@ # define ACE_HAS_PTHREADS_STD # define ACE_HAS_PTHREADS_UNIX98_EXT # define ACE_HAS_PTHREAD_CONTINUE -# define ACE_HAS_PTHREAD_RESUME_NP # define ACE_HAS_PTHREAD_SUSPEND # define ACE_HAS_RECURSIVE_MUTEXES # define ACE_HAS_THREAD_SPECIFIC_STORAGE |