diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-09-25 13:38:33 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-09-25 13:38:33 -0500 |
commit | 6efdd8cbfea393e8b9c2a8b9029b53f25aa0cef4 (patch) | |
tree | 02bc7bb3020b507994fc877fcf382fc362213956 /include | |
parent | ffe8924f3b0f6fd68fec197e11a4229c0542b0b5 (diff) |
fix namespaced types for pre-17 otp
Diffstat (limited to 'include')
-rw-r--r-- | include/rebar.hrl | 6 |
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. |