Веселов Андрей | 8ab38b6 | 2016-04-29 13:12:05 +0300 | [diff] [blame] | 1 | Def0 = case not erlang:is_builtin(erlang, monotonic_time, 0) of |
2 | true -> []; | ||||
3 | false -> [{d, time_correction}] | ||||
4 | end, | ||||
5 | Defs = Def0, | ||||
6 | lists:keystore(erl_opts, 1, CONFIG, | ||||
7 | {erl_opts, proplists:get_value(erl_opts, CONFIG, []) ++ Defs}). |