浏览代码

Add rebar.hrl R13B04 TODO

We have to rename ?FAIL to ?ABORT once we require at least R13B04 for
building rebar. Macros with different arity were not supported by the
compiler before 13B04.
pull/3/head
Tuncer Ayaz 13 年前
父节点
当前提交
4875d2312c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      include/rebar.hrl

+ 3
- 0
include/rebar.hrl 查看文件

@ -1,3 +1,6 @@
%% TODO: rename FAIL to ABORT once we require at least R13B04 for
%% building rebar. Macros with different arity were not supported by the
%% compiler before 13B04.
-define(FAIL, rebar_utils:abort()).
-define(ABORT(Str, Args), rebar_utils:abort(Str, Args)).

正在加载...
取消
保存