Ticket #41335: patch-src-ops-unique.cpp.diff
File patch-src-ops-unique.cpp.diff, 694 bytes (added by gezelter@…, 11 years ago) |
---|
-
src/ops/unique.cpp
old new 21 21 #include <openbabel/obconversion.h> 22 22 #include <openbabel/descriptor.h> 23 23 #include <openbabel/inchiformat.h> 24 #if def _MSC_VER24 #if defined(_MSC_VER) || defined(_LIBCPP_VERSION) 25 25 #include <unordered_map> 26 26 #elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 1 && !defined(__APPLE_CC__)) 27 27 #include <tr1/unordered_map> … … 36 36 37 37 using namespace std; 38 38 #ifndef NO_UNORDERED_MAP 39 using std::tr1::unordered_map; 39 #ifdef _LIBCPP_VERSION 40 using std::unordered_map; 41 #else 42 using std::tr1::unordered_map; 43 #endif 40 44 #endif 41 45 namespace OpenBabel 42 46 {