Home | History | Annotate | Download | only in config
      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 /* STLport do not support anymore the iostream wrapper mode so this macro should
     71  * always been define for other libraries that was using it:
     72  */
     73 #if !defined (_STLP_OWN_IOSTREAMS)
     74 #  define _STLP_OWN_IOSTREAMS
     75 #endif
     76 
     77 #if defined (_STLP_NO_OWN_IOSTREAMS)
     78 #  error STLport do not support anymore the wrapper mode. If you want to use STLport \
     79 use its iostreams implementation or no iostreams at all.
     80 #endif
     81