author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 2 | 2fe1408b6811 |
permissions | -rw-r--r-- |
williamr@4 | 1 |
// STLport config file for KAI C++ compiler |
williamr@4 | 2 |
|
williamr@4 | 3 |
#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4) |
williamr@4 | 4 |
# define _STLP_RAND48 1 |
williamr@4 | 5 |
#endif |
williamr@4 | 6 |
|
williamr@4 | 7 |
# ifndef __KAI_STRICT /* _NO_LONGLONG */ |
williamr@4 | 8 |
# define _STLP_LONG_LONG long long |
williamr@4 | 9 |
# endif |
williamr@4 | 10 |
|
williamr@4 | 11 |
# if !defined (__EXCEPTIONS) && ! defined (_EXCEPTIONS) |
williamr@4 | 12 |
# define _STLP_HAS_NO_EXCEPTIONS |
williamr@4 | 13 |
# endif |
williamr@4 | 14 |
|
williamr@4 | 15 |
# ifndef __BUILDING_STLPORT |
williamr@4 | 16 |
# define _STLP_LINK_TIME_INSTANTIATION 1 |
williamr@4 | 17 |
# endif |
williamr@4 | 18 |
|
williamr@4 | 19 |
// two levels of macros do not work good with kcc. |
williamr@4 | 20 |
# define _STLP_NATIVE_HEADER(header) <../include/##header> |
williamr@4 | 21 |
# define _STLP_NATIVE_C_HEADER(header) <../include/##header> |
williamr@4 | 22 |
# define _STLP_NATIVE_CPP_C_HEADER(header) <../include/##header> |
williamr@4 | 23 |
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header> |
williamr@4 | 24 |
|
williamr@4 | 25 |
# ifdef _WIN32 |
williamr@4 | 26 |
# define _STLP_MINIMUM_IMPORT_STD |
williamr@4 | 27 |
# endif |
williamr@4 | 28 |
|
williamr@4 | 29 |
// KAI C++ uses EDG front-end, but apparently different switches |
williamr@4 | 30 |
// # define __EDG_SWITCHES 1 |
williamr@4 | 31 |
|
williamr@4 | 32 |
|
williamr@4 | 33 |
# define _STLP_VENDOR_GLOBAL_CSTD 1 |
williamr@4 | 34 |
# define _STLP_VENDOR_MB_NAMESPACE std |
williamr@4 | 35 |
|
williamr@4 | 36 |
// boris : some of those may also apply to KCC 3.4 |
williamr@4 | 37 |
# if __KCC_VERSION < 4000 |
williamr@4 | 38 |
# define _STLP_VENDOR_GLOBAL_EXCEPT_STD 1 |
williamr@4 | 39 |
|
williamr@4 | 40 |
# endif |
williamr@4 | 41 |
|
williamr@4 | 42 |
# if defined (__sgi) |
williamr@4 | 43 |
// this requires some discrimination on whether we are actually on |
williamr@4 | 44 |
// a system officially supported by KAI. |
williamr@4 | 45 |
# define _STLP_HAS_NO_NEW_C_HEADERS 1 |
williamr@4 | 46 |
# include <standards.h> |
williamr@4 | 47 |
# endif |
williamr@4 | 48 |