Ticket #41335: patch-include-openbabel-obmolecformat.h.diff
File patch-include-openbabel-obmolecformat.h.diff, 863 bytes (added by gezelter@…, 11 years ago) |
---|
-
include/openbabel/obmolecformat.h
old new 23 23 #include <hash_map> 24 24 #endif 25 25 26 #if __GNUC__ == 4 && __GNUC_MINOR__ >= 1 26 #include <ciso646> // detect std::lib 27 #ifdef _LIBCPP_VERSION 28 #include <unordered_map> 29 #elif __GNUC__ == 4 && __GNUC_MINOR__ >= 1 27 30 #include <tr1/unordered_map> 28 31 #elif defined(USE_BOOST) 29 32 #include <boost/tr1/unordered_map.hpp> … … 141 144 142 145 #ifdef _MSC_VER 143 146 typedef stdext::hash_map<std::string, unsigned> NameIndexType; 147 #elif defined(_LIBCPP_VERSION) 148 typedef std::unordered_map<std::string, unsigned> NameIndexType; 144 149 #elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 1 && !defined(__APPLE_CC__)) || defined (USE_BOOST) 145 150 typedef std::tr1::unordered_map<std::string, unsigned> NameIndexType; 146 151 #else