diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-05-13 13:41:06 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-05-13 13:41:06 -0400 |
commit | 89b25b2d8206f00749759e3b666689aed6d85feb (patch) | |
tree | 954e07ad70810f98a9a4d2398125376a34292ffc | |
parent | e5257a76d808b1ab4371281007855294a43316e1 (diff) | |
parent | af159ce998b7c5df668ac8cfe80476b80d82ae31 (diff) |
Merge pull request #1189 from tsloughter/otp-19-bootstrap
fix otp-19 bootstrap compiling
-rwxr-xr-x | bootstrap | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |