Ticket #2536: utility.hpp.clean.patch
| File utility.hpp.clean.patch, 896 bytes (added by , 14 years ago) |
|---|
-
boost/units/detail/utility.hpp
21 21 #include <boost/cstdint.hpp> 22 22 #include <boost/limits.hpp> 23 23 24 #if defined(__GNUC__) && defined(__cplusplus) && (__GNUC__ >= 3) && !defined(_RWSTD_VER) 25 #define BOOST_UNITS_USE_DEMANGLING 26 #endif // __GNUC__ 24 #if defined(__GLIBCXX__) || defined(__GLIBCPP__) 27 25 28 #ifdef BOOST_UNITS_USE_DEMANGLING29 30 #if (__GNUC__ && __cplusplus && __GNUC__ >= 3)31 26 #include <cxxabi.h> 32 #endif // __GNUC__33 27 34 28 #include <boost/algorithm/string/replace.hpp> 35 29 … … 88 82 89 83 } // namespace boost 90 84 91 #else // BOOST_UNITS_USE_DEMANGLING85 #else // __GLIBCXX__ 92 86 93 87 namespace boost { 94 88 … … 118 112 // To get system-specific predefined macros: 119 113 // gcc -arch ppc -dM -E - < /dev/null | sort 120 114 121 #endif // BOOST_UNITS_USE_DEMANGLING115 #endif // __GLIBCXX__ 122 116 123 117 #endif // BOOST_UNITS_UTILITY_HPP
