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 |
/* |
williamr@4 | 2 |
* Copyright (c) 1997 |
williamr@4 | 3 |
* Moscow Center for SPARC Technology |
williamr@4 | 4 |
* |
williamr@4 | 5 |
* Copyright (c) 1999 |
williamr@4 | 6 |
* Boris Fomitchev |
williamr@4 | 7 |
* |
williamr@4 | 8 |
* This material is provided "as is", with absolutely no warranty expressed |
williamr@4 | 9 |
* or implied. Any use is at your own risk. |
williamr@4 | 10 |
* |
williamr@4 | 11 |
* Permission to use or copy this software for any purpose is hereby granted |
williamr@4 | 12 |
* without fee, provided the above notices are retained on all copies. |
williamr@4 | 13 |
* Permission to modify the code and to distribute modified code is granted, |
williamr@4 | 14 |
* provided the above notices are retained, and a notice that the code was |
williamr@4 | 15 |
* modified is included with the above copyright notice. |
williamr@4 | 16 |
* |
williamr@4 | 17 |
*/ |
williamr@4 | 18 |
|
williamr@4 | 19 |
#define _STLP_COMPILER "CC" |
williamr@4 | 20 |
|
williamr@4 | 21 |
// Mostly correct guess, change it for Alpha (and other environments |
williamr@4 | 22 |
// that has 64-bit "long") |
williamr@4 | 23 |
# define _STLP_UINT32_T unsigned long |
williamr@4 | 24 |
|
williamr@4 | 25 |
// Uncomment if long long is available |
williamr@4 | 26 |
# define _STLP_LONG_LONG long long |
williamr@4 | 27 |
|
williamr@4 | 28 |
// Uncomment this if your compiler can't inline while(), for() |
williamr@4 | 29 |
# define _STLP_LOOP_INLINE_PROBLEMS 1 |
williamr@4 | 30 |
|
williamr@4 | 31 |
// Uncomment this if your compiler does not support exceptions |
williamr@4 | 32 |
// Cray C++ supports exceptions when '-h exceptions' option is user; |
williamr@4 | 33 |
// therefore '-D_STLP_HAS_NO_EXCEPTIONS' must be used when '-h exceptions' |
williamr@4 | 34 |
// is NOT used. |
williamr@4 | 35 |
//# define _STLP_HAS_NO_EXCEPTIONS 1 |
williamr@4 | 36 |
|
williamr@4 | 37 |
// Delete? |
williamr@4 | 38 |
// Define this if compiler lacks <exception> header |
williamr@4 | 39 |
//# define _STLP_NO_EXCEPTION_HEADER 1 |
williamr@4 | 40 |
|
williamr@4 | 41 |
// Uncomment this if your C library has lrand48() function |
williamr@4 | 42 |
# define _STLP_RAND48 1 |
williamr@4 | 43 |
|
williamr@4 | 44 |
// Uncomment if native new-style C library headers lile <cstddef>, etc are not available. |
williamr@4 | 45 |
# define _STLP_HAS_NO_NEW_C_HEADERS 1 |
williamr@4 | 46 |
|
williamr@4 | 47 |
// uncomment if new-style headers <new> is available |
williamr@4 | 48 |
# define _STLP_NO_NEW_NEW_HEADER 1 |
williamr@4 | 49 |
|
williamr@4 | 50 |
// uncomment this if <iostream> and other STD headers put their stuff in ::namespace, |
williamr@4 | 51 |
// not std:: |
williamr@4 | 52 |
# define _STLP_VENDOR_GLOBAL_STD |
williamr@4 | 53 |
|
williamr@4 | 54 |
// uncomment this if <cstdio> and the like put stuff in ::namespace, |
williamr@4 | 55 |
// not std:: |
williamr@4 | 56 |
# define _STLP_VENDOR_GLOBAL_CSTD |
williamr@4 | 57 |
|
williamr@4 | 58 |
# define _STLP_NATIVE_C_HEADER(__x) </usr/include/##__x> |
williamr@4 | 59 |
// WARNING: Following is hardcoded to the system default C++ include files |
williamr@4 | 60 |
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(__x) </opt/ctl/CC/CC/include/##__x> |
williamr@4 | 61 |
|
williamr@4 | 62 |
|
williamr@4 | 63 |
# define _STLP_NO_NATIVE_MBSTATE_T |
williamr@4 | 64 |
# define _STLP_NO_USING_FOR_GLOBAL_FUNCTIONS |
williamr@4 | 65 |
//# define _STLP_VENDOR_GLOBAL_EXCEPT_STD |
williamr@4 | 66 |
|
williamr@4 | 67 |
#if !defined (_CRAYIEEE) |
williamr@4 | 68 |
# define _STLP_NO_IEC559_SUPPORT 1 |
williamr@4 | 69 |
#endif |