31
|
1 |
/* NOTE : this header has no guards and is MEANT for multiple inclusion!
|
|
2 |
* If you are using "header protection" option with your compiler,
|
|
3 |
* please also find #pragma which disables it and put it here, to
|
|
4 |
* allow reentrancy of this header.
|
|
5 |
*/
|
|
6 |
|
|
7 |
#ifndef _STLP_PROLOG_HEADER_INCLUDED
|
|
8 |
# error STLport epilog header can not be included as long as prolog has not be included.
|
|
9 |
#endif
|
|
10 |
|
|
11 |
/* If the platform provides any specific epilog actions,
|
|
12 |
* like #pragmas, do include platform-specific prolog file
|
|
13 |
*/
|
|
14 |
#if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG)
|
|
15 |
# include <stl/config/_epilog.h>
|
|
16 |
#endif
|
|
17 |
|
|
18 |
#if !defined (_STLP_NO_POST_COMPATIBLE_SECTION)
|
|
19 |
# include <stl/_config_compat_post.h>
|
|
20 |
#endif
|
|
21 |
|
|
22 |
#if defined (_STLP_USE_OWN_NAMESPACE)
|
|
23 |
|
|
24 |
# if !defined (_STLP_DONT_REDEFINE_STD)
|
|
25 |
/* We redefine "std" to STLPORT, so that user code may use std:: transparently
|
|
26 |
* The STLPORT macro contains the STLport namespace name containing all the std
|
|
27 |
* stuff.
|
|
28 |
*/
|
|
29 |
# if defined (std)
|
|
30 |
/*
|
|
31 |
* Looks like the compiler native library on which STLport rely defined the std macro.
|
|
32 |
* This might introduce major incompatibility so report the problem to the STLport
|
|
33 |
* forum or comment the following #error at your own risk.
|
|
34 |
*/
|
|
35 |
# error Incompatible native Std library.
|
|
36 |
# endif /* std */
|
|
37 |
# define std STLPORT
|
|
38 |
# endif /* _STLP_DONT_REDEFINE_STD */
|
|
39 |
|
|
40 |
#endif
|
|
41 |
|
|
42 |
#undef _STLP_PROLOG_HEADER_INCLUDED /* defined in _prolog.h */
|
|
43 |
|
|
44 |
/*Below changes are added to make _STLP_DECLSPEC as _STLP_EXPORT_DECLSPEC at definition of the functions.
|
|
45 |
In _prolog.h, _STLP_DECLSPEC will be defined as _STLP_IMPORT_DECLSPEC.
|
|
46 |
*/
|
|
47 |
# if defined (_STLP_DESIGNATED_DLL)
|
|
48 |
# if defined (_STLP_DECLSPEC)
|
|
49 |
# undef _STLP_DECLSPEC
|
|
50 |
# endif
|
|
51 |
# define _STLP_DECLSPEC _STLP_EXPORT_DECLSPEC
|
|
52 |
# if defined (_STLP_CLASS_DECLSPEC)
|
|
53 |
# undef _STLP_CLASS_DECLSPEC
|
|
54 |
# endif
|
|
55 |
# define _STLP_CLASS_DECLSPEC _STLP_CLASS_EXPORT_DECLSPEC
|
|
56 |
# endif
|