Ticket #8944: tr1-include-next.diff
File tr1-include-next.diff, 1.7 KB (added by , 9 years ago) |
---|
-
boost/tr1/detail/config.hpp
old new 9 9 #include <cstddef> 10 10 11 11 #if (defined(__GNUC__) && !(defined(linux) || defined(__linux) || defined(__linux__))) \ 12 || (!defined(__FreeBSD__)) \ 12 13 || (!defined(_AIX) && defined(__IBMCPP__) && (__IBMCPP__ >= 800)) 13 14 // Disable use of #include_next on Linux as typically we are installed in a 14 15 // directory that is searched *after* the std lib include path. -
boost/tr1/detail/config_all.hpp
old new 85 85 # elif defined(__GNUC__) && __GNUC__ >= 3 86 86 # if defined(BOOST_TR1_GCC_INCLUDE_PATH) 87 87 # define BOOST_TR1_STD_HEADER(name) <../BOOST_TR1_GCC_INCLUDE_PATH/name> 88 # elif (defined(__FreeBSD__)) 89 # define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__/name> 88 90 # elif ( (__GNUC__ == 3 ) && ((__GNUC_MINOR__ == 0) || ((__GNUC_MINOR__ < 3) && defined(__APPLE_CC__)))) 89 91 # define BOOST_TR1_STD_HEADER(name) <../g++-v3/name> 90 92 # else … … 107 109 # endif 108 110 109 111 # if !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT) && !defined(__ICC) \ 110 && (defined( linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__))112 && (defined(__FreeBSD__) || defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) 111 113 // Disable use of #include_next on Linux as typically we are installed in a directory that is searched 112 114 // *after* the std lib include path: 113 115 # define BOOST_TR1_DISABLE_INCLUDE_NEXT