diff options
-rw-r--r-- | rebar.config | 3 | ||||
-rw-r--r-- | src/rebar.hrl | 14 |
2 files changed, 1 insertions, 16 deletions
diff --git a/rebar.config b/rebar.config index 77fe225..3bc5ae9 100644 --- a/rebar.config +++ b/rebar.config @@ -29,8 +29,7 @@ {escript_incl_extra, [{"relx/priv/templates/*", "_build/default/lib/"}, {"rebar/priv/templates/*", "_build/default/lib/"}]}. -{erl_opts, [{platform_define, "^[0-9]+", namespaced_types}, - {platform_define, "^(19|2)", rand_only}, +{erl_opts, [{platform_define, "^(19|2)", rand_only}, {platform_define, "^2", unicode_str}, {platform_define, "^(2[1-9])|(20\\\\.3)", filelib_find_source}, {platform_define, "^(R|1|20)", fun_stacktrace}, diff --git a/src/rebar.hrl b/src/rebar.hrl index f11302d..fedf0d0 100644 --- a/src/rebar.hrl +++ b/src/rebar.hrl @@ -55,23 +55,9 @@ state :: term(), implementation :: rebar_resource | rebar_resource_v2}). --ifdef(namespaced_types). -type rebar_dict() :: dict:dict(). --else. --type rebar_dict() :: dict(). --endif. - --ifdef(namespaced_types). -type rebar_digraph() :: digraph:graph(). --else. --type rebar_digraph() :: digraph(). --endif. - --ifdef(namespaced_types). -type rebar_set() :: sets:set(). --else. --type rebar_set() :: set(). --endif. -ifdef(fun_stacktrace). -define(WITH_STACKTRACE(T, R, S), T:R -> S = erlang:get_stacktrace(),). |