summaryrefslogtreecommitdiff
path: root/include/rebar.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/rebar.hrl')
-rw-r--r--include/rebar.hrl6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl
index 7568898..58debfc 100644
--- a/include/rebar.hrl
+++ b/include/rebar.hrl
@@ -1,5 +1,7 @@
-
--define(ABORT, rebar_utils:abort()).
+%% 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)).
-define(CONSOLE(Str, Args), io:format(Str, Args)).