From 4875d2312c06ad5e13497495a2e233dcc8d3d20e Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 28 Jul 2012 20:14:10 +0200 Subject: [PATCH] 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. --- include/rebar.hrl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/rebar.hrl b/include/rebar.hrl index bc46b1d..b338fc2 100644 --- a/include/rebar.hrl +++ b/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)).