summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rebar.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rebar.hrl b/include/rebar.hrl
index 0f4e90f..82821e6 100644
--- a/include/rebar.hrl
+++ b/include/rebar.hrl
@@ -10,3 +10,9 @@
-define(ERROR(Str, Args), rebar_log:log(error, Str, Args)).
-define(FMT(Str, Args), lists:flatten(io_lib:format(Str, Args))).
+
+-define(DEPRECATED(Old, New, Opts, When),
+ rebar_utils:deprecated(Old, New, Opts, When)).
+
+-define(DEPRECATED(Old, New, When),
+ rebar_utils:deprecated(Old, New, When)).