summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-25 13:38:33 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-25 13:38:33 -0500
commit6efdd8cbfea393e8b9c2a8b9029b53f25aa0cef4 (patch)
tree02bc7bb3020b507994fc877fcf382fc362213956 /include
parentffe8924f3b0f6fd68fec197e11a4229c0542b0b5 (diff)
fix namespaced types for pre-17 otp
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 92fdbe9..7f85892 100644
--- a/include/rebar.hrl
+++ b/include/rebar.hrl
@@ -27,3 +27,9 @@
-define(DEFAULT_PLUGINS_DIR, "_plugins").
-define(DEFAULT_CONFIG_FILE, "rebar.config").
-define(LOCK_FILE, "rebar.lock").
+
+-ifdef(namespaced_types).
+-type rebar_dict() :: dict:dict().
+-else.
+-type rebar_dict() :: dict().
+-endif.