sl@0
|
1 |
// STLport config file for KAI C++ compiler
|
sl@0
|
2 |
|
sl@0
|
3 |
#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
|
sl@0
|
4 |
# define _STLP_RAND48 1
|
sl@0
|
5 |
#endif
|
sl@0
|
6 |
|
sl@0
|
7 |
# ifndef __KAI_STRICT /* _NO_LONGLONG */
|
sl@0
|
8 |
# define _STLP_LONG_LONG long long
|
sl@0
|
9 |
# endif
|
sl@0
|
10 |
|
sl@0
|
11 |
# if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS)
|
sl@0
|
12 |
# define _STLP_HAS_NO_EXCEPTIONS
|
sl@0
|
13 |
# endif
|
sl@0
|
14 |
|
sl@0
|
15 |
# ifndef __BUILDING_STLPORT
|
sl@0
|
16 |
# define _STLP_LINK_TIME_INSTANTIATION 1
|
sl@0
|
17 |
# endif
|
sl@0
|
18 |
|
sl@0
|
19 |
// two levels of macros do not work good with kcc.
|
sl@0
|
20 |
# define _STLP_NATIVE_HEADER(header) <../include/##header>
|
sl@0
|
21 |
# define _STLP_NATIVE_C_HEADER(header) <../include/##header>
|
sl@0
|
22 |
# define _STLP_NATIVE_CPP_C_HEADER(header) <../include/##header>
|
sl@0
|
23 |
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
|
sl@0
|
24 |
|
sl@0
|
25 |
# ifdef _WIN32
|
sl@0
|
26 |
# define _STLP_MINIMUM_IMPORT_STD
|
sl@0
|
27 |
# endif
|
sl@0
|
28 |
|
sl@0
|
29 |
// KAI C++ uses EDG front-end, but apparently different switches
|
sl@0
|
30 |
// # define __EDG_SWITCHES 1
|
sl@0
|
31 |
|
sl@0
|
32 |
|
sl@0
|
33 |
# define _STLP_VENDOR_GLOBAL_CSTD 1
|
sl@0
|
34 |
# define _STLP_VENDOR_MB_NAMESPACE std
|
sl@0
|
35 |
|
sl@0
|
36 |
// boris : some of those may also apply to KCC 3.4
|
sl@0
|
37 |
# if __KCC_VERSION < 4000
|
sl@0
|
38 |
# define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1
|
sl@0
|
39 |
|
sl@0
|
40 |
# endif
|
sl@0
|
41 |
|
sl@0
|
42 |
// this is multiplatform compiler, so here should go system-dependant section
|
sl@0
|
43 |
// This really should be in platform-specific files, like stl_solaris.h
|
sl@0
|
44 |
# ifdef __linux__
|
sl@0
|
45 |
# define _STLP_NO_NATIVE_WIDE_STREAMS 1
|
sl@0
|
46 |
# define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
|
sl@0
|
47 |
# elif defined (__sun) || defined (sun)
|
sl@0
|
48 |
// # define _STLP_VENDOR_MB_NAMESPACE
|
sl@0
|
49 |
# include <config/stl_solaris.h>
|
sl@0
|
50 |
# elif defined (__hpux)
|
sl@0
|
51 |
# define _STLP_NO_NATIVE_WIDE_FUNCTIONS
|
sl@0
|
52 |
# elif defined (__sgi)
|
sl@0
|
53 |
// this requires some discrimination on whether we are actually on
|
sl@0
|
54 |
// a system officially supported by KAI.
|
sl@0
|
55 |
# define _STLP_HAS_NO_NEW_C_HEADERS 1
|
sl@0
|
56 |
# include <standards.h>
|
sl@0
|
57 |
# endif
|
sl@0
|
58 |
|