aboutsummaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2021-12-06 15:46:52 +0100
committerPaweł Chmielowski <pawel@process-one.net>2021-12-06 15:46:52 +0100
commit8d8a3177e15aac8e693aa20e8e51d6463e81163d (patch)
tree07d6db0764283edb6b4455e0feb58d574dc43973 /mix.exs
parentAdd workaround for bug in older erlang version in rest module (diff)
Eliminate xref warning from last commit
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 fbed459a4..9da7885b5 100644
--- a/mix.exs
+++ b/mix.exs
@@ -87,6 +87,7 @@ defmodule Ejabberd.MixProject do
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(:uri_string, :normalize, 1, [{:d, :HAVE_URI_STRING}])
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}]