Ticket #4115: noStdTypeInfoFix.2.patch

File noStdTypeInfoFix.2.patch, 964 bytes (added by Arkadiy Shapkin <arkadiy_s@…>, 13 years ago)

Sorry, previous patch typo fixed

  • config/stdlib/dinkumware.hpp

     
    8686#  define BOOST_NO_STD_LOCALE
    8787#endif
    8888
     89#if defined(_HAS_EXCEPTIONS) && (_HAS_EXCEPTIONS == 0)
     90#  define BOOST_NO_STD_TYPEINFO   
     91#endif
     92
    8993//  C++0x headers implemented in 520 (as shipped by Microsoft)
    9094//
    9195#if !defined(_CPPLIB_VER) || _CPPLIB_VER < 520
  • config/suffix.hpp

     
    339339    namespace std { using ::ptrdiff_t; using ::size_t; }
    340340# endif
    341341
     342#  ifdef BOOST_NO_STD_TYPEINFO
     343    namespace std { using ::type_info; }
     344#  endif
     345
    342346//  Workaround for the unfortunate min/max macros defined by some platform headers
    343347
    344348#define BOOST_PREVENT_MACRO_SUBSTITUTION