stl_kai.h

00001 // STLport config file for KAI C++ compiler
00002 
00003 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
00004 # define _STLP_RAND48 1
00005 #endif
00006 
00007 #  ifndef __KAI_STRICT /* _NO_LONGLONG */
00008 #   define _STLP_LONG_LONG long long
00009 #  endif
00010 
00011 #  if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
00012 #    define _STLP_HAS_NO_EXCEPTIONS
00013 #  endif
00014 
00015 # ifndef __BUILDING_STLPORT
00016 #  define _STLP_LINK_TIME_INSTANTIATION 1
00017 # endif
00018 
00019 // two levels of macros do not work good with kcc.
00020 #   define _STLP_NATIVE_HEADER(header)    <../include/##header> 
00021 #   define _STLP_NATIVE_C_HEADER(header)    <../include/##header> 
00022 #   define _STLP_NATIVE_CPP_C_HEADER(header)    <../include/##header> 
00023 #   define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
00024 
00025 # ifdef _WIN32
00026 #  define _STLP_MINIMUM_IMPORT_STD
00027 # endif
00028 
00029 // KAI C++ uses EDG front-end, but apparently different switches
00030 // #  define __EDG_SWITCHES 1
00031 
00032 
00033 #  define _STLP_VENDOR_GLOBAL_CSTD 1
00034 #  define _STLP_VENDOR_MB_NAMESPACE std
00035 
00036 // boris : some of those may also apply to KCC 3.4
00037 # if __KCC_VERSION < 4000
00038 #  define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
00039 
00040 # endif
00041 
00042 // this is multiplatform compiler, so here should go system-dependant section
00043 // This really should be in platform-specific files, like stl_solaris.h
00044 # ifdef __linux__
00045 #  define _STLP_NO_NATIVE_WIDE_STREAMS 1
00046 #  define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
00047 # elif defined (__sun) || defined (sun)
00048 // # define _STLP_VENDOR_MB_NAMESPACE
00049 #  include <config/stl_solaris.h>
00050 # elif defined (__hpux)
00051 #  define _STLP_NO_NATIVE_WIDE_FUNCTIONS
00052 # elif defined (__sgi)
00053 // this requires some discrimination on whether we are actually on 
00054 // a system officially supported by KAI. 
00055 #  define _STLP_HAS_NO_NEW_C_HEADERS 1
00056 #  include <standards.h>
00057 # endif
00058 

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