missing project/build files
[client-tools.git] / src / external / 3rd / library / stlport453 / stlport / config / stl_kai.h
blobcb883c0fd68341b13f27a4c6f7a995d53b3a3c28
1 // STLport config file for KAI C++ compiler
3 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
4 # define _STLP_RAND48 1
5 #endif
7 # ifndef __KAI_STRICT /* _NO_LONGLONG */
8 # define _STLP_LONG_LONG long long
9 # endif
11 # if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
12 # define _STLP_HAS_NO_EXCEPTIONS
13 # endif
15 # ifndef __BUILDING_STLPORT
16 # define _STLP_LINK_TIME_INSTANTIATION 1
17 # endif
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>
25 # ifdef _WIN32
26 # define _STLP_MINIMUM_IMPORT_STD
27 # endif
29 // KAI C++ uses EDG front-end, but apparently different switches
30 // # define __EDG_SWITCHES 1
33 # define _STLP_VENDOR_GLOBAL_CSTD 1
34 # define _STLP_VENDOR_MB_NAMESPACE std
36 // boris : some of those may also apply to KCC 3.4
37 # if __KCC_VERSION < 4000
38 # define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
40 # endif
42 // this is multiplatform compiler, so here should go system-dependant section
43 // This really should be in platform-specific files, like stl_solaris.h
44 # ifdef __linux__
45 # define _STLP_NO_NATIVE_WIDE_STREAMS 1
46 # define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
47 # elif defined (__sun) || defined (sun)
48 // # define _STLP_VENDOR_MB_NAMESPACE
49 # include <config/stl_solaris.h>
50 # elif defined (__hpux)
51 # define _STLP_NO_NATIVE_WIDE_FUNCTIONS
52 # elif defined (__sgi)
53 // this requires some discrimination on whether we are actually on
54 // a system officially supported by KAI.
55 # define _STLP_HAS_NO_NEW_C_HEADERS 1
56 # include <standards.h>
57 # endif