summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-08-17 17:28:31 +0200
committerBadlop <badlop@process-one.net>2022-09-01 13:02:52 +0200
commit4ae06f039d4c2bf8af71d658ba10b63e41bd0472 (patch)
tree9ff93577ab7d1488814c0e9f565750f10761d1b1
parentmod_host_meta: Complain at start if listener is not encrypted (diff)
Add definition to detect OTP older than 25, used by ejabberd_auth_http
-rw-r--r--rebar.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config
index 22c66bea..d25c31ca 100644
--- a/rebar.config
+++ b/rebar.config
@@ -114,6 +114,7 @@
{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_version_below, "25", {d, 'OTP_BELOW_25'}},
{if_var_false, debug, no_debug_info},
{if_var_true, debug, debug_info},
{if_var_true, elixir, {d, 'ELIXIR_ENABLED'}},