PageRenderTime 13ms CodeModel.GetById 8ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/project/jni/stlport/stlport/stl/config/compat.h

https://github.com/aichunyu/FFPlayer
C Header | 84 lines | 64 code | 13 blank | 7 comment | 19 complexity | d21dd2ccc69fe85806c52e20cc1eba0d MD5 | raw file
 1
 2/*
 3 * Compatibility section
 4 * This section sets new-style macros based on old-style ones, for compatibility
 5 */
 6
 7#if defined (__STL_DEBUG) && !defined (_STLP_DEBUG)
 8#  define _STLP_DEBUG __STL_DEBUG
 9#endif
10#if defined (__STL_NO_ANACHRONISMS) && !defined (_STLP_NO_ANACHRONISMS)
11#  define _STLP_NO_ANACHRONISMS __STL_NO_ANACHRONISMS
12#endif
13#if defined (__STL_NO_EXTENSIONS) && !defined (_STLP_NO_EXTENSIONS)
14#  define _STLP_NO_EXTENSIONS __STL_NO_EXTENSIONS
15#endif
16#if defined (__STL_NO_EXCEPTIONS) && !defined (_STLP_NO_EXCEPTIONS)
17#  define _STLP_NO_EXCEPTIONS __STL_NO_EXCEPTIONS
18#endif
19#if defined (__STL_NO_NAMESPACES) && !defined (_STLP_NO_NAMESPACES)
20#  define _STLP_NO_NAMESPACES __STL_NO_NAMESPACES
21#endif
22#if defined (__STL_MINIMUM_DEFAULT_TEMPLATE_PARAMS) && !defined (_STLP_MINIMUM_DEFAULT_TEMPLATE_PARAMS)
23#  define _STLP_MINIMUM_DEFAULT_TEMPLATE_PARAMS __STL_MINIMUM_DEFAULT_TEMPLATE_PARAMS
24#endif
25#if defined (__STL_NO_OWN_NAMESPACE) && !defined (_STLP_NO_OWN_NAMESPACE)
26#  define _STLP_NO_OWN_NAMESPACE __STL_NO_OWN_NAMESPACE
27#endif
28
29#if defined (__STL_NO_RELOPS_NAMESPACE) && !defined (_STLP_NO_RELOPS_NAMESPACE)
30#  define _STLP_NO_RELOPS_NAMESPACE __STL_NO_RELOPS_NAMESPACE
31#endif
32
33#if defined (__STL_DEBUG_UNINITIALIZED) && !defined (_STLP_DEBUG_UNINITIALIZED)
34#  define _STLP_DEBUG_UNINITIALIZED __STL_DEBUG_UNINITIALIZED
35#endif
36#if defined (__STL_SHRED_BYTE) && !defined (_STLP_SHRED_BYTE)
37#  define _STLP_SHRED_BYTE __STL_SHRED_BYTE
38#endif
39#if defined (__STL_USE_MFC) && !defined (_STLP_USE_MFC)
40#  define _STLP_USE_MFC __STL_USE_MFC
41#endif
42
43#if defined (__STL_USE_NEWALLOC) && !defined (_STLP_USE_NEWALLOC)
44#  define _STLP_USE_NEWALLOC __STL_USE_NEWALLOC
45#endif
46#if defined (__STL_USE_MALLOC) && !defined (_STLP_USE_MALLOC)
47#  define _STLP_USE_MALLOC __STL_USE_MALLOC
48#endif
49
50#if defined (__STL_DEBUG_ALLOC) && !defined (_STLP_DEBUG_ALLOC)
51#  define _STLP_DEBUG_ALLOC __STL_DEBUG_ALLOC
52#endif
53
54#if defined (__STL_DEBUG_MESSAGE) && !defined (_STLP_DEBUG_MESSAGE)
55#  define _STLP_DEBUG_MESSAGE __STL_DEBUG_MESSAGE
56#endif
57
58#if defined (__STL_DEBUG_TERMINATE) && !defined (_STLP_DEBUG_TERMINATE)
59#  define _STLP_DEBUG_TERMINATE __STL_DEBUG_TERMINATE
60#endif
61
62#if defined (__STL_USE_ABBREVS) && !defined (_STLP_USE_ABBREVS)
63#  define _STLP_USE_ABBREVS __STL_USE_ABBREVS
64#endif
65
66#if defined (__STL_NO_MSVC50_COMPATIBILITY) && !defined (_STLP_NO_MSVC50_COMPATIBILITY)
67#  define _STLP_NO_MSVC50_COMPATIBILITY __STL_NO_MSVC50_COMPATIBILITY
68#endif
69
70#if defined (__STL_USE_RAW_SGI_ALLOCATORS) && !defined (_STLP_USE_RAW_SGI_ALLOCATORS)
71#  define _STLP_USE_RAW_SGI_ALLOCATORS __STL_USE_RAW_SGI_ALLOCATORS
72#endif
73
74/* STLport do not support anymore the iostream wrapper mode so this macro should
75 * always been define for other libraries that was using it:
76 */
77#if !defined (_STLP_OWN_IOSTREAMS)
78#  define _STLP_OWN_IOSTREAMS
79#endif
80
81#if defined (_STLP_NO_OWN_IOSTREAMS)
82#  error STLport do not support anymore the wrapper mode. If you want to use STLport \
83use its iostreams implementation or no iostreams at all.
84#endif