瀏覽代碼

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)).

Loading…
取消
儲存