aboutsummaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-03-04 15:30:06 +0100
committerBadlop <badlop@process-one.net>2021-03-04 16:41:24 +0100
commitc45b526ec398236e765ee890467a23b813b3d88a (patch)
tree11ceb317c725b1d3943fb64da8d9060110a4638e /mix.exs
parentGet back description and simplify processing (#3507) (diff)
Update sql_query record to handle the Erlang/OTP 24 compiler reports
As mentioned in the Erlang/OTP 24 announcement: "Compiler warnings and errors now include column numbers in addition to line numbers."
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs1
1 files changed, 1 insertions, 0 deletions
diff --git a/mix.exs b/mix.exs
index 0da85c1ea..63c20bd9f 100644
--- a/mix.exs
+++ b/mix.exs
@@ -70,6 +70,7 @@ defmodule Ejabberd.Mixfile do
if_version_below('22', [{:d, :LAGER}]) ++
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_function_exported(:erl_error, :format_exception, 6, [{:d, :HAVE_ERL_ERROR}])
defines = for {:d, value} <- result, do: {:d, value}
result ++ [{:d, :ALL_DEFS, defines}]