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