未验证 提交 33ff9591 编写于 作者: M Matt Witherspoon 提交者: GitHub

Merge pull request #1666 from EOSIO/clang6_fix_revisit

Change how the macro "N" is undef'ed wrt clang 6 fix
......@@ -9,7 +9,8 @@
#include <eosio/chain/contracts/types.hpp>
#include <fc/io/json.hpp>
//clashes with something deep in the AST includes
//clashes with something deep in the AST includes in clang 6 and possibly other versions of clang
#pragma push_macro("N")
#undef N
#include "clang/Driver/Options.h"
......@@ -228,3 +229,5 @@ namespace eosio {
};
} //ns eosio
#pragma pop_macro("N")
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册