mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Add OTP_BELOW_25 to mix.exs that was added to rebar.config in 4ae06f0
This commit is contained in:
parent
8b84f991e1
commit
2438fc8b31
1 changed files with 2 additions and 1 deletions
3
mix.exs
3
mix.exs
|
@ -81,7 +81,8 @@ defmodule Ejabberd.MixProject do
|
||||||
if_version_below(~c"23", [{:d, :USE_OLD_CRYPTO_HMAC}]) ++
|
if_version_below(~c"23", [{:d, :USE_OLD_CRYPTO_HMAC}]) ++
|
||||||
if_version_below(~c"23", [{:d, :USE_OLD_PG2}]) ++
|
if_version_below(~c"23", [{:d, :USE_OLD_PG2}]) ++
|
||||||
if_version_below(~c"24", [{:d, :COMPILER_REPORTS_ONLY_LINES}]) ++
|
if_version_below(~c"24", [{:d, :COMPILER_REPORTS_ONLY_LINES}]) ++
|
||||||
if_version_below(~c"24", [{:d, :SYSTOOLS_APP_DEF_WITHOUT_OPTIONAL}])
|
if_version_below(~c"24", [{:d, :SYSTOOLS_APP_DEF_WITHOUT_OPTIONAL}]) ++
|
||||||
|
if_version_below(~c"25", [{:d, :OTP_BELOW_25}])
|
||||||
defines = for {:d, value} <- result, do: {:d, value}
|
defines = for {:d, value} <- result, do: {:d, value}
|
||||||
result ++ [{:d, :ALL_DEFS, defines}]
|
result ++ [{:d, :ALL_DEFS, defines}]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue