From 65ebddf5d7222c7d06111cce09fb5e076686fc06 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 22 Apr 2014 14:51:13 -0500 Subject: handle deprecated pre-defined types for 17.0 and later --- rebar.config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index cf03ea3..a250ce9 100644 --- a/rebar.config +++ b/rebar.config @@ -21,7 +21,10 @@ %% Compiler Options ============================================================ {erl_opts, - [debug_info, warnings_as_errors, inline]}. + [{platform_define, "^[0-9]+", namespaced_types}, + debug_info, + warnings_as_errors, + inline]}. %% EUnit ======================================================================= {eunit_opts, -- cgit v1.2.3