Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-06-17 19:30:25 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-06-17 19:30:25 +0300
commit91d9d076f9c69562f5e5232f64832d3c1125a5f8 (patch)
treede1fcf1df80cea1cfeb64b8cb309d6e30ecea605 /mix.exs
parentb6f037ced6f4fde41d2f22d935ecf499f1f494dd (diff)
Synchronize macros from rebar.config with mix.exs
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs5
1 files changed, 1 insertions, 4 deletions
diff --git a/mix.exs b/mix.exs
index 50aa19c9d..1ea839cbe 100644
--- a/mix.exs
+++ b/mix.exs
@@ -55,10 +55,7 @@ defmodule Ejabberd.Mixfile do
includes = ["include"] ++ deps_include(["fast_xml", "xmpp", "p1_utils"])
[:debug_info, {:d, :ELIXIR_ENABLED}] ++ cond_options() ++ Enum.map(includes, fn(path) -> {:i, path} end) ++
if_version_above('20', [{:d, :DEPRECATED_GET_STACKTRACE}]) ++
- if_function_exported(:crypto, :strong_rand_bytes, 1, [{:d, :STRONG_RAND_BYTES}]) ++
- if_function_exported(:rand, :uniform, 1, [{:d, :RAND_UNIFORM}]) ++
- if_function_exported(:gb_sets, :iterator_from, 2, [{:d, :GB_SETS_ITERATOR_FROM}]) ++
- if_function_exported(:public_key, :short_name_hash, 1, [{:d, :SHORT_NAME_HASH}])
+ if_function_exported(:erl_error, :format_exception, 6, [{:d, :HAVE_ERL_ERROR}])
end
defp cond_options do