Ticket #51785: libqalculate_unordered.patch
File libqalculate_unordered.patch, 656 bytes (added by jjstickel (Jonathan Stickel), 8 years ago) |
---|
-
libqalculate/includes.h
a b 33 33 #include <stdint.h> 34 34 35 35 36 #if def __GNUC__36 #if defined(__GNUC__) && !defined(__clang__) 37 37 # define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) 38 38 # if GCC_VERSION >= 40300 39 39 # include <tr1/unordered_map> … … 53 53 # endif 54 54 # #define unordered_map Sgi::hash_map 55 55 # endif 56 #elif defined(__clang__) && defined(_LIBCPP_VERSION) 57 # include <unordered_map> 56 58 #else // ... there are other compilers, right? 57 59 namespace Sgi = std; 58 60 # define unordered_map Sgi::hash_map