Browse Source

fix callback r14 support

pull/11/head
Tristan Sloughter 10 years ago
parent
commit
71de52cb9d
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      rebar.config
  2. +1
    -1
      src/rebar_resource.erl

+ 2
- 1
rebar.config View File

@ -11,7 +11,8 @@
{escript_name, rebar3}.
{erl_opts,
[{platform_define, "^[0-9]+", namespaced_types},
[{platform_define, "R14", no_callback_support},
{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^R1[4|5]", deprecated_crypto},
debug_info,
warnings_as_errors]}.

+ 1
- 1
src/rebar_resource.erl View File

@ -14,7 +14,7 @@
-type location() :: string().
-type ref() :: any().
-ifdef(have_callback_support).
-ifdef(no_callback_support).
%% In the case where R14 or lower is being used to compile the system
%% we need to export a behaviour info

Loading…
Cancel
Save