瀏覽代碼

fix otp-19 bootstrap compiling

pull/1189/head
Tristan Sloughter 9 年之前
父節點
當前提交
af159ce998
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      bootstrap

+ 1
- 1
bootstrap 查看文件

@ -350,7 +350,7 @@ format_error(AbsSource, Extra, {Mod, Desc}) ->
io_lib:format("~s: ~s~s~n", [AbsSource, Extra, ErrorDesc]).
additional_defines() ->
[{d, D} || {Re, D} <- [{"^[0-9]+", namespaced_types}, {"^R1[4|5]", deprecated_crypto}], is_otp_release(Re)].
[{d, D} || {Re, D} <- [{"^[0-9]+", namespaced_types}, {"^R1[4|5]", deprecated_crypto}, {"^((1[8|9])|2)", rand_module}], is_otp_release(Re)].
is_otp_release(ArchRegex) ->
case re:run(otp_release(), ArchRegex, [{capture, none}]) of

Loading…
取消
儲存