Skip to content

Commit

Permalink
fix to compile tesseract on mac with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
renard314 authored and jimregan committed May 18, 2015
1 parent e9f5935 commit 49a7ed1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ccutil/hashfn.h
Expand Up @@ -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>
Expand Down

0 comments on commit 49a7ed1

Please sign in to comment.