mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-07 18:02:40 +08:00
fix to compile tesseract on mac with clang
This commit is contained in:
parent
07128d8432
commit
2c8bc4a2ac
@ -47,6 +47,11 @@ using __gnu_cxx::hash_set;
|
||||
#include <hash_map>
|
||||
#include <hash_set>
|
||||
#endif // gcc
|
||||
#elif (__clang__)
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#define hash_map std::unordered_map
|
||||
#define unordered_set std::unordered_set
|
||||
#else // USE_STD_NAMESPACE
|
||||
#include <hash_map>
|
||||
#include <hash_set>
|
||||
|
Loading…
Reference in New Issue
Block a user