From 3ec90fadec4bae46bcead5c473d47699a2ac30b6 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Mon, 1 Jan 2018 13:30:03 -0800 Subject: [PATCH] Take a stab at OTP 18 compatability with macro logging --- rebar.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rebar.config b/rebar.config index 3d8f9e9..4b4d8a8 100644 --- a/rebar.config +++ b/rebar.config @@ -22,6 +22,8 @@ {erl_opts, [ {lager_extra_sinks, ['__lager_test_sink']}, {platform_define, "(19|20)", test_statem}, + {platform_define, "(18)", 'FUNCTION_NAME', unavailable}, + {platform_define, "(18)", 'FUNCTION_ARITY', 0}, debug_info, report, verbose,