summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2018-05-03 07:12:11 -0400
committerFred Hebert <mononcqc@ferd.ca>2018-05-03 07:18:04 -0400
commit5f9b4293bc029e2132d7c442cb5b4480915ea0e4 (patch)
tree8ba1730e313f0fe955c0f366ef4ee870997d9275 /bootstrap
parentfb87ed576203c303911193b4902e661c59188274 (diff)
Work around OTP-21 deprecation of get_stacktrace()
Based off a macro by @okeuday at https://github.com/erlang/otp/pull/1783
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 9675e1d..5899e9b 100755
--- a/bootstrap
+++ b/bootstrap
@@ -571,6 +571,7 @@ additional_defines() ->
[{d, D} || {Re, D} <- [{"^[0-9]+", namespaced_types},
{"^R1[4|5]", deprecated_crypto},
{"^2", unicode_str},
+ {"^(R|1|20)", fun_stacktrace},
{"^((1[8|9])|2)", rand_module}],
is_otp_release(Re)].