summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2016-05-13 12:30:34 -0500
committerTristan Sloughter <t@crashfast.com>2016-05-13 12:30:34 -0500
commitaf159ce998b7c5df668ac8cfe80476b80d82ae31 (patch)
tree954e07ad70810f98a9a4d2398125376a34292ffc
parente215b64813d6c4be2c744b1f56f5f8d06e15cf41 (diff)
fix otp-19 bootstrap compiling
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index e2a393b..7a7f735 100755
--- a/bootstrap
+++ b/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