Kaynağa Gözat

fix callback r14 support

pull/11/head
Tristan Sloughter 10 yıl önce
ebeveyn
işleme
71de52cb9d
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +2
    -1
      rebar.config
  2. +1
    -1
      src/rebar_resource.erl

+ 2
- 1
rebar.config Dosyayı Görüntüle

@ -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 Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet