|
|
@ -27,14 +27,14 @@ |
|
|
|
# endif |
|
|
|
# endif |
|
|
|
|
|
|
|
|
|
|
|
# if __cplusplus==1 |
|
|
|
# if __cplusplus==1 |
|
|
|
|
|
|
|
// __cplusplus==1 is a known bug in gcc 4.6.3
|
|
|
|
# warning your compiler has a know bug, please upgrade to gcc >= 4.7 |
|
|
|
# warning your compiler has a know bug, please upgrade to gcc >= 4.7 |
|
|
|
# warning see __cplusplus in http://gcc.gnu.org/gcc-4.7/changes.html
|
|
|
|
# warning see __cplusplus in http://gcc.gnu.org/gcc-4.7/changes.html
|
|
|
|
# endif |
|
|
|
# endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ifdef MRW__OLD_PRE11_COMPILER |
|
|
|
# ifdef MRW__OLD_PRE11_COMPILER |
|
|
|
// __cplusplus==1 is a known bug in gcc 4.6.3
|
|
|
|
# if __cplusplus<200300L |
|
|
|
# if __cplusplus<200300L && __cplusplus!=1 |
|
|
|
|
|
|
|
# include <boost/shared_ptr.hpp> |
|
|
|
# include <boost/shared_ptr.hpp> |
|
|
|
namespace std { |
|
|
|
namespace std { |
|
|
|
// there is no std::shared_ptr in pre C++11 compilers, so we use the
|
|
|
|
// there is no std::shared_ptr in pre C++11 compilers, so we use the
|
|
|
|