From 4ae06f039d4c2bf8af71d658ba10b63e41bd0472 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 17 Aug 2022 17:28:31 +0200 Subject: [PATCH] Add definition to detect OTP older than 25, used by ejabberd_auth_http --- rebar.config | 1 + 1 file changed, 1 insertion(+) diff --git a/rebar.config b/rebar.config index 22c66beae..d25c31ca2 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'}},