• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // STLport config file for KAI C++ compiler
2 
3 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
4 # define _STLP_RAND48 1
5 #endif
6 
7 #  ifndef __KAI_STRICT /* _NO_LONGLONG */
8 #   define _STLP_LONG_LONG long long
9 #  endif
10 
11 #  if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
12 #    define _STLP_HAS_NO_EXCEPTIONS
13 #  endif
14 
15 # ifndef __BUILDING_STLPORT
16 #  define _STLP_LINK_TIME_INSTANTIATION 1
17 # endif
18 
19 // two levels of macros do not work good with kcc.
20 #   define _STLP_NATIVE_HEADER(header)    <../include/##header>
21 #   define _STLP_NATIVE_C_HEADER(header)    <../include/##header>
22 #   define _STLP_NATIVE_CPP_C_HEADER(header)    <../include/##header>
23 #   define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
24 
25 // KAI C++ uses EDG front-end, but apparently different switches
26 // #  define __EDG_SWITCHES 1
27 
28 #  define _STLP_VENDOR_GLOBAL_CSTD 1
29 #  define _STLP_VENDOR_MB_NAMESPACE std
30 
31 // boris : some of those may also apply to KCC 3.4
32 # if __KCC_VERSION < 4000
33 #  define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
34 
35 # endif
36 
37 # if defined (__sgi)
38 // this requires some discrimination on whether we are actually on
39 // a system officially supported by KAI.
40 #  define _STLP_HAS_NO_NEW_C_HEADERS 1
41 #  include <standards.h>
42 # endif
43 
44