diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2018-05-03 07:12:11 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2018-05-03 07:18:04 -0400 |
commit | 5f9b4293bc029e2132d7c442cb5b4480915ea0e4 (patch) | |
tree | 8ba1730e313f0fe955c0f366ef4ee870997d9275 /bootstrap | |
parent | fb87ed576203c303911193b4902e661c59188274 (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-x | bootstrap | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)]. |