Ticket #41335: patch-include-openbabel-shared_ptr.h.diff
File patch-include-openbabel-shared_ptr.h.diff, 631 bytes (added by gezelter@…, 11 years ago) |
---|
-
include/openbabel/shared_ptr.h
old new 22 22 #else 23 23 #include <memory> 24 24 #if __GNUC__ == 4 //&& __GNUC_MINOR__ < 3 removed at the suggestion of Konstantin Tokarev 25 #include <tr1/memory> 25 #ifdef _LIBCPP_VERSION 26 #include <memory> 27 #else 28 #include <tr1/memory> 29 #endif 30 #endif 31 #ifdef _LIBCPP_VERSION 32 #define obsharedptr std::shared_ptr 33 #else 34 #define obsharedptr std::tr1::shared_ptr 26 35 #endif 27 using std::tr1::shared_ptr;28 36 #endif 29 37 30 38 #endif // OB_SHARED_PTR_H