ソースを参照

Merge pull request #11 from tsloughter/r14

fix callback r14 support
pull/17/head
Tristan Sloughter 10年前
コミット
6616b35849
2個のファイルの変更3行の追加2行の削除
  1. +2
    -1
      rebar.config
  2. +1
    -1
      src/rebar_resource.erl

+ 2
- 1
rebar.config ファイルの表示

@ -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 ファイルの表示

@ -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

読み込み中…
キャンセル
保存