summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-06-01 10:35:28 +0200
committerBadlop <badlop@process-one.net>2020-06-01 10:35:28 +0200
commitc0f7008e96b8159367d025c61f5230685a8c5993 (patch)
tree4c273cd7c88af76be57921b24300335fd878fa1f /rebar.config
parentDirty workarounds to compile jiffy with Erlang/OTP 23 (#3282) (diff)
Use old http_uri, crypto and pg2 only with old Erlang/OTP (#3284)
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config3
1 files changed, 3 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config
index 04b617ad..efcea966 100644
--- a/rebar.config
+++ b/rebar.config
@@ -94,7 +94,10 @@
{if_var_true, sip, {d, 'SIP'}},
{if_var_true, stun, {d, 'STUN'}},
{if_version_above, "20", {d, 'DEPRECATED_GET_STACKTRACE'}},
+ {if_version_below, "21", {d, 'USE_OLD_HTTP_URI'}},
{if_version_below, "22", {d, 'LAGER'}},
+ {if_version_below, "23", {d, 'USE_OLD_CRYPTO_HMAC'}},
+ {if_version_below, "23", {d, 'USE_OLD_PG2'}},
{if_var_true, roster_gateway_workaround, {d, 'ROSTER_GATWAY_WORKAROUND'}},
{if_var_match, db_type, mssql, {d, 'mssql'}},
{if_var_true, elixir, {d, 'ELIXIR_ENABLED'}},