diff options
author | Badlop <badlop@process-one.net> | 2021-04-10 17:32:55 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2021-04-14 17:12:08 +0200 |
commit | b860a25c82515ba51b044e13ea4e040e3b9bbc41 (patch) | |
tree | f183f0248057e6b2927ee26d5a1d77dce621c4fc /mix.exs | |
parent | Use Dockerfile (diff) |
When using OTP 24.0, use the new 'application' record definition (#3568)
This fixes "ejabberdctl update_list", "update", and the equivalent feature
on ejabberd's WebAdmin that got broken when using Erlang/OTP 24
Diffstat (limited to 'mix.exs')
-rw-r--r-- | mix.exs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -71,6 +71,7 @@ defmodule Ejabberd.Mixfile do if_version_below('23', [{:d, :USE_OLD_CRYPTO_HMAC}]) ++ if_version_below('23', [{:d, :USE_OLD_PG2}]) ++ if_version_below('24', [{:d, :COMPILER_REPORTS_ONLY_LINES}]) ++ + if_version_below('24', [{:d, :SYSTOOLS_APP_DEF_WITHOUT_OPTIONAL}]) ++ if_function_exported(:erl_error, :format_exception, 6, [{:d, :HAVE_ERL_ERROR}]) defines = for {:d, value} <- result, do: {:d, value} result ++ [{:d, :ALL_DEFS, defines}] |