diff options
Diffstat (limited to 'ace/config-sunos5.5.h')
-rw-r--r-- | ace/config-sunos5.5.h | 40 |
1 files changed, 14 insertions, 26 deletions
diff --git a/ace/config-sunos5.5.h b/ace/config-sunos5.5.h index 09ce6c9c72b..6eb59b5f8bd 100644 --- a/ace/config-sunos5.5.h +++ b/ace/config-sunos5.5.h @@ -29,11 +29,9 @@ # define ACE_TEMPLATES_REQUIRE_SOURCE # define ACE_HAS_STANDARD_CPP_LIBRARY 1 # define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1 -# define ACE_USES_OLD_IOSTREAMS 1 -# define ACE_HAS_THR_C_DEST +# define ACE_LACKS_ACE_IOSTREAM /* might not be necessary? */ # endif /* __SUNPRO_CC >= 0x500 */ # endif /* __SUNPRO_CC >= 0x420 */ - # define ACE_CAST_CONST const # define ACE_HAS_HI_RES_TIMER # define ACE_HAS_SIG_C_FUNC /* Sun CC 5.0 needs this, 4.2 doesn't mind. */ @@ -85,6 +83,15 @@ # endif /* !ACE_MT_SAFE */ #elif defined (ghs) +# if defined (__STANDARD_CXX) + // Green Hills 1.8.9, but not 1.8.8. +# define ACE_HAS_STANDARD_CPP_LIBRARY 1 +# endif /* __STANDARD_CXX */ + +# define ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA +# define ACE_LACKS_LINEBUFFERED_STREAMBUF +# define ACE_LACKS_LONGLONG_T /* It really doesn't have it. Boo. */ +# define ACE_LACKS_SIGNED_CHAR # if !defined (ACE_MT_SAFE) || ACE_MT_SAFE != 0 // ACE_MT_SAFE is #defined below, for all compilers. @@ -96,21 +103,10 @@ # endif /* _REENTRANT */ # endif /* !ACE_MT_SAFE */ -# define ACE_CONFIG_INCLUDE_GHS_COMMON -# include "ace/config-ghs-common.h" - // To avoid warning about inconsistent declaration between Sun's // stdlib.h and Green Hills' ctype.h. # include <stdlib.h> - // IOStream_Test never halts with Green Hills 1.8.9. -# define ACE_LACKS_ACE_IOSTREAM - -#elif defined (__KCC) /* KAI compiler */ - -# define ACE_HAS_ANSI_CASTS -# include "ace/config-kcc-common.h" - #else /* ! __SUNPRO_CC && ! __GNUG__ && ! ghs */ # error unsupported compiler in ace/config-sunos5.5.h #endif /* ! __SUNPRO_CC && ! __GNUG__ && ! ghs */ @@ -135,9 +131,6 @@ // Optimize ACE_Handle_Set for select(). #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT -// select()'s timeval arg is not declared as const and may be modified -#define ACE_HAS_NONCONST_SELECT_TIMEVAL - // Platform supports pread() and pwrite() #define ACE_HAS_P_READ_WRITE #define ACE_HAS_RECURSIVE_THR_EXIT_SEMANTICS @@ -234,9 +227,7 @@ // Compiler/platform supports sys_siglist array. #define ACE_HAS_SYS_SIGLIST -#if defined (_REENTRANT) || \ - (defined (_POSIX_C_SOURCE) && (_POSIX_C_SOURCE - 0 >= 199506L)) || \ - defined (_POSIX_PTHREAD_SEMANTICS) +#if defined (_REENTRANT) // Compile using multi-thread libraries. # define ACE_HAS_THREADS @@ -249,9 +240,7 @@ // -D_POSIX_PTHREAD_SEMANTICS to your CFLAGS. Or, #define it right // here. See the Intro (3) man page for information on // -D_POSIX_PTHREAD_SEMANTICS. -# if defined (_POSIX_PTHREAD_SEMANTICS) -# define ACE_LACKS_RWLOCK_T -# else +# if !defined (_POSIX_PTHREAD_SEMANTICS) # define ACE_HAS_STHREADS # endif /* ! _POSIX_PTHREAD_SEMANTICS */ @@ -268,10 +257,10 @@ # define ACE_HAS_REENTRANT_FUNCTIONS # define ACE_NEEDS_LWP_PRIO_SET +# define ACE_HAS_PTHREAD_SIGMASK # define ACE_HAS_THR_YIELD # define ACE_LACKS_PTHREAD_YIELD -#endif /* _REENTRANT || _POSIX_C_SOURCE >= 199506L || \ - _POSIX_PTHREAD_SEMANTICS */ +#endif /* _REENTRANT */ # define ACE_HAS_PRIOCNTL @@ -300,7 +289,6 @@ #define ACE_HAS_GPERF #define ACE_HAS_DIRENT -#define ACE_HAS_MEMCHR #if defined (__SUNPRO_CC) # define ACE_CC_NAME "SunPro C++" |