提交 4f41261f authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Merge pull request #6349 from abergeron/c++11_mac

Fix complilation on mac. It claims c++99 but has unordered_map, so...
...@@ -74,7 +74,7 @@ if (APPLY_SPECIFIC(kerns) != NULL) ...@@ -74,7 +74,7 @@ if (APPLY_SPECIFIC(kerns) != NULL)
#section support_code #section support_code
#include <sstream> #include <sstream>
#include <string> #include <string>
#if __cplusplus < 201103L #if __cplusplus < 201103L && !defined(__APPLE__)
#include <tr1/unordered_map> #include <tr1/unordered_map>
typedef std::tr1::unordered_map<std::string, AlgoRec> AlgoCache; typedef std::tr1::unordered_map<std::string, AlgoRec> AlgoCache;
#else #else
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论