epoc32/include/tools/stlport/stl/config/compat.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/tools/stlport/stl/config/compat.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,84 @@
     1.4 +
     1.5 +/*
     1.6 + * Compatibility section
     1.7 + * This section sets new-style macros based on old-style ones, for compatibility
     1.8 + */
     1.9 +
    1.10 +#if defined (__STL_DEBUG) && !defined (_STLP_DEBUG)
    1.11 +#  define _STLP_DEBUG __STL_DEBUG
    1.12 +#endif
    1.13 +#if defined (__STL_NO_ANACHRONISMS) && !defined (_STLP_NO_ANACHRONISMS)
    1.14 +#  define _STLP_NO_ANACHRONISMS __STL_NO_ANACHRONISMS
    1.15 +#endif
    1.16 +#if defined (__STL_NO_EXTENSIONS) && !defined (_STLP_NO_EXTENSIONS)
    1.17 +#  define _STLP_NO_EXTENSIONS __STL_NO_EXTENSIONS
    1.18 +#endif
    1.19 +#if defined (__STL_NO_EXCEPTIONS) && !defined (_STLP_NO_EXCEPTIONS)
    1.20 +#  define _STLP_NO_EXCEPTIONS __STL_NO_EXCEPTIONS
    1.21 +#endif
    1.22 +#if defined (__STL_NO_NAMESPACES) && !defined (_STLP_NO_NAMESPACES)
    1.23 +#  define _STLP_NO_NAMESPACES __STL_NO_NAMESPACES
    1.24 +#endif
    1.25 +#if defined (__STL_MINIMUM_DEFAULT_TEMPLATE_PARAMS) && !defined (_STLP_MINIMUM_DEFAULT_TEMPLATE_PARAMS)
    1.26 +#  define _STLP_MINIMUM_DEFAULT_TEMPLATE_PARAMS __STL_MINIMUM_DEFAULT_TEMPLATE_PARAMS
    1.27 +#endif
    1.28 +#if defined (__STL_NO_OWN_NAMESPACE) && !defined (_STLP_NO_OWN_NAMESPACE)
    1.29 +#  define _STLP_NO_OWN_NAMESPACE __STL_NO_OWN_NAMESPACE
    1.30 +#endif
    1.31 +
    1.32 +#if defined (__STL_NO_RELOPS_NAMESPACE) && !defined (_STLP_NO_RELOPS_NAMESPACE)
    1.33 +#  define _STLP_NO_RELOPS_NAMESPACE __STL_NO_RELOPS_NAMESPACE
    1.34 +#endif
    1.35 +
    1.36 +#if defined (__STL_DEBUG_UNINITIALIZED) && !defined (_STLP_DEBUG_UNINITIALIZED)
    1.37 +#  define _STLP_DEBUG_UNINITIALIZED __STL_DEBUG_UNINITIALIZED
    1.38 +#endif
    1.39 +#if defined (__STL_SHRED_BYTE) && !defined (_STLP_SHRED_BYTE)
    1.40 +#  define _STLP_SHRED_BYTE __STL_SHRED_BYTE
    1.41 +#endif
    1.42 +#if defined (__STL_USE_MFC) && !defined (_STLP_USE_MFC)
    1.43 +#  define _STLP_USE_MFC __STL_USE_MFC
    1.44 +#endif
    1.45 +
    1.46 +#if defined (__STL_USE_NEWALLOC) && !defined (_STLP_USE_NEWALLOC)
    1.47 +#  define _STLP_USE_NEWALLOC __STL_USE_NEWALLOC
    1.48 +#endif
    1.49 +#if defined (__STL_USE_MALLOC) && !defined (_STLP_USE_MALLOC)
    1.50 +#  define _STLP_USE_MALLOC __STL_USE_MALLOC
    1.51 +#endif
    1.52 +
    1.53 +#if defined (__STL_DEBUG_ALLOC) && !defined (_STLP_DEBUG_ALLOC)
    1.54 +#  define _STLP_DEBUG_ALLOC __STL_DEBUG_ALLOC
    1.55 +#endif
    1.56 +
    1.57 +#if defined (__STL_DEBUG_MESSAGE) && !defined (_STLP_DEBUG_MESSAGE)
    1.58 +#  define _STLP_DEBUG_MESSAGE __STL_DEBUG_MESSAGE
    1.59 +#endif
    1.60 +
    1.61 +#if defined (__STL_DEBUG_TERMINATE) && !defined (_STLP_DEBUG_TERMINATE)
    1.62 +#  define _STLP_DEBUG_TERMINATE __STL_DEBUG_TERMINATE
    1.63 +#endif
    1.64 +
    1.65 +#if defined (__STL_USE_ABBREVS) && !defined (_STLP_USE_ABBREVS)
    1.66 +#  define _STLP_USE_ABBREVS __STL_USE_ABBREVS
    1.67 +#endif
    1.68 +
    1.69 +#if defined (__STL_NO_MSVC50_COMPATIBILITY) && !defined (_STLP_NO_MSVC50_COMPATIBILITY)
    1.70 +#  define _STLP_NO_MSVC50_COMPATIBILITY __STL_NO_MSVC50_COMPATIBILITY
    1.71 +#endif
    1.72 +
    1.73 +#if defined (__STL_USE_RAW_SGI_ALLOCATORS) && !defined (_STLP_USE_RAW_SGI_ALLOCATORS)
    1.74 +#  define _STLP_USE_RAW_SGI_ALLOCATORS __STL_USE_RAW_SGI_ALLOCATORS
    1.75 +#endif
    1.76 +
    1.77 +/* STLport do not support anymore the iostream wrapper mode so this macro should
    1.78 + * always been define for other libraries that was using it:
    1.79 + */
    1.80 +#if !defined (_STLP_OWN_IOSTREAMS)
    1.81 +#  define _STLP_OWN_IOSTREAMS
    1.82 +#endif
    1.83 +
    1.84 +#if defined (_STLP_NO_OWN_IOSTREAMS)
    1.85 +#  error STLport do not support anymore the wrapper mode. If you want to use STLport \
    1.86 +use its iostreams implementation or no iostreams at all.
    1.87 +#endif