stl_solaris.h

00001 
00002 // include system features file
00003 # include <sys/feature_tests.h>
00004 
00005 // system-dependent defines 
00006 
00007 # if defined (__SunOS_5_8) && ! defined (_STLP_HAS_NO_NEW_C_HEADERS) && ( __cplusplus >= 199711L)
00008 #  define _STLP_HAS_NATIVE_FLOAT_ABS
00009 # endif
00010 
00011 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
00012 # define _STLP_RAND48 1
00013 #endif
00014 
00015 #if (defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 == 4)) || defined (__SunOS_5_6)
00016 # define _STLP_WCHAR_SUNPRO_EXCLUDE 1
00017 # define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
00018 #endif
00019 
00020 // boris : this should always be defined for Solaris 5 & 6. Any ideas how to do it ?
00021 # if !(defined ( __KCC ) && __KCC_VERSION > 3400 ) && \
00022   ((defined(__SunOS_5_5_1) || defined(__SunOS_5_6) ))
00023 #  ifndef _STLP_NO_NATIVE_MBSTATE_T
00024 #   define _STLP_NO_NATIVE_MBSTATE_T 1
00025 #  endif
00026 # endif /* KCC */
00027 
00028 // For SPARC we use lightweight synchronization
00029 # if defined (__sparc) /* &&  (defined (_REENTRANT) || defined (_PTHREADS)) */ \
00030      && ((defined (__GNUC__) && defined (__sparc_v9__)) || \
00031      ((defined (__sparcv9) || defined (__sparcv8plus)) && ! defined (_STLP_NO_OWN_IOSTREAMS)) ) \
00032      && !defined(_NOTHREADS) && ! defined (_STLP_NO_SPARC_SOLARIS_THREADS)
00033 #  define _STLP_SPARC_SOLARIS_THREADS
00034 #  define _STLP_THREADS_DEFINED
00035 # endif
00036 

Generated on Mon Jun 5 10:20:45 2006 for Intelligence.kdevelop by  doxygen 1.4.6