ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

_solaris.h
Go to the documentation of this file.
00001 #ifndef __stl_config__solaris_h
00002 #define __stl_config__solaris_h
00003 
00004 #define _STLP_PLATFORM "Sun Solaris"
00005 
00006 /* include system features file */
00007 #include <sys/feature_tests.h>
00008 
00009 /* system-dependent defines */
00010 #define _STLP_USE_UNIX_IO
00011 
00012 #ifdef __GNUC__
00013 /* 
00014  * See comments (and configuration defines) in the host.h
00015  */
00016 #  if !(defined(__SunOS_5_5_1) || defined(__SunOS_5_6) || defined(__SunOS_5_7) || \
00017         defined(__SunOS_5_8) || defined(__SunOS_5_9) || defined(__SunOS_5_10))
00018 #    error Uncomment one of the defines (__SunOS_5_x) in the file stlport/stl/config/host.h
00019 #  endif
00020 #endif
00021 
00022 #if defined (__SunOS_5_8) && ! defined (_STLP_HAS_NO_NEW_C_HEADERS) && ( __cplusplus >= 199711L)
00023 #  define _STLP_HAS_NATIVE_FLOAT_ABS
00024 #endif
00025 
00026 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
00027 # define _STLP_RAND48 1
00028 #endif
00029 
00030 #if (defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 == 4)) || defined (__SunOS_5_6)
00031 # define _STLP_WCHAR_SUNPRO_EXCLUDE 1
00032 # define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
00033 #endif
00034 
00035 /* boris : this should always be defined for Solaris 5 & 6. Any ideas how to do it? */
00036 #if !(defined ( __KCC ) && __KCC_VERSION > 3400 ) && \
00037   ((defined(__SunOS_5_5_1) || defined(__SunOS_5_6) ))
00038 #  ifndef _STLP_NO_NATIVE_MBSTATE_T
00039 #    define _STLP_NO_NATIVE_MBSTATE_T 1
00040 #  endif
00041 #endif /* KCC */
00042 
00043 /* For SPARC we use lightweight synchronization */
00044 #if defined (__sparc) /* && (defined (_REENTRANT) || defined (_PTHREADS)) */
00045 #  if ( (defined (__GNUC__) && defined (__sparc_v9__)) || \
00046         defined (__sparcv9) ) \
00047        && !defined(_NOTHREADS) && !defined (_STLP_NO_SPARC_SOLARIS_THREADS)
00048 #    define _STLP_SPARC_SOLARIS_THREADS
00049 #    define _STLP_THREADS_DEFINED
00050 #  endif
00051 #endif
00052 
00053 /* gcc does not support ELF64 yet ; however; it supports ultrasparc + v8plus.
00054  * limits.h contains invalid values for this combination
00055  */
00056 #ifdef __GNUC__
00057 #  if (defined  (__sparc_v9__) || defined (__sparcv9)) && !defined ( __WORD64 ) && !defined(__arch64__)
00058 #    define __LONG_MAX__ 2147483647L
00059 #  endif
00060 #endif
00061 
00062 /* 
00063  * Attention! See comments (and configuration defines) in the host.h
00064  * (you host may has MATH_F and MATH_L functions)
00065  *
00066  */
00067 #if !defined(__SunOS_5_10) && !defined(_STLP_SOLARIS_MATH_PATCH)
00068 #  define _STLP_NO_VENDOR_MATH_F
00069 #  define _STLP_NO_VENDOR_MATH_L
00070 #endif
00071 
00072 #ifdef __GNUC__
00073 #  define _STLP_WCHAR_BORLAND_EXCLUDE
00074 #  define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
00075 #endif
00076 
00077 #endif /* __stl_config__solaris_h */

Generated on Mon May 28 2012 04:29:40 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.