Skip to content

Commit

Permalink
Add rebar.hrl R13B04 TODO
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Tuncer Ayaz committed Jul 28, 2012
1 parent 636c02f commit 4875d23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/rebar.hrl
Original file line number Diff line number Diff line change
@@ -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)).

Expand Down

0 comments on commit 4875d23

Please sign in to comment.