Parcourir la source

fix callback r14 support

pull/11/head
Tristan Sloughter il y a 10 ans
Parent
révision
71de52cb9d
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. +2
    -1
      rebar.config
  2. +1
    -1
      src/rebar_resource.erl

+ 2
- 1
rebar.config Voir le fichier

@ -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 Voir le fichier

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

Chargement…
Annuler
Enregistrer