Browse Source

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 years ago
parent
commit
4875d2312c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      include/rebar.hrl

+ 3
- 0
include/rebar.hrl View File

@ -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…
Cancel
Save