author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@4 | 1 |
/* NOTE : this header has no guards and is MEANT for multiple inclusion! |
williamr@4 | 2 |
* If you are using "header protection" option with your compiler, |
williamr@4 | 3 |
* please also find #pragma which disables it and put it here, to |
williamr@4 | 4 |
* allow reentrancy of this header. |
williamr@4 | 5 |
*/ |
williamr@4 | 6 |
|
williamr@4 | 7 |
#ifndef _STLP_PROLOG_HEADER_INCLUDED |
williamr@4 | 8 |
# error STLport epilog header can not be included as long as prolog has not be included. |
williamr@4 | 9 |
#endif |
williamr@4 | 10 |
|
williamr@4 | 11 |
/* If the platform provides any specific epilog actions, |
williamr@4 | 12 |
* like #pragmas, do include platform-specific prolog file |
williamr@4 | 13 |
*/ |
williamr@4 | 14 |
#if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG) |
williamr@4 | 15 |
# include <stl/config/_epilog.h> |
williamr@4 | 16 |
#endif |
williamr@4 | 17 |
|
williamr@4 | 18 |
#if !defined (_STLP_NO_POST_COMPATIBLE_SECTION) |
williamr@4 | 19 |
# include <stl/_config_compat_post.h> |
williamr@4 | 20 |
#endif |
williamr@4 | 21 |
|
williamr@4 | 22 |
#if defined (_STLP_USE_OWN_NAMESPACE) |
williamr@4 | 23 |
|
williamr@4 | 24 |
# if !defined (_STLP_DONT_REDEFINE_STD) |
williamr@4 | 25 |
/* We redefine "std" to STLPORT, so that user code may use std:: transparently |
williamr@4 | 26 |
* The STLPORT macro contains the STLport namespace name containing all the std |
williamr@4 | 27 |
* stuff. |
williamr@4 | 28 |
*/ |
williamr@4 | 29 |
# if defined (std) |
williamr@4 | 30 |
/* |
williamr@4 | 31 |
* Looks like the compiler native library on which STLport rely defined the std macro. |
williamr@4 | 32 |
* This might introduce major incompatibility so report the problem to the STLport |
williamr@4 | 33 |
* forum or comment the following #error at your own risk. |
williamr@4 | 34 |
*/ |
williamr@4 | 35 |
# error Incompatible native Std library. |
williamr@4 | 36 |
# endif /* std */ |
williamr@4 | 37 |
# define std STLPORT |
williamr@4 | 38 |
# endif /* _STLP_DONT_REDEFINE_STD */ |
williamr@4 | 39 |
|
williamr@4 | 40 |
#endif |
williamr@4 | 41 |
|
williamr@4 | 42 |
#undef _STLP_PROLOG_HEADER_INCLUDED /* defined in _prolog.h */ |