Merge pull request #1743 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-11732 to master

* commit 'ad7db399999b647bfb18a25a622069f31c3dd730':
  FS-11732 [mod_kazoo] ei_init added in OTP 21.3
This commit is contained in:
Andrey Volk 2019-06-26 14:38:27 -05:00
commit 9068cd9920
1 changed files with 2 additions and 2 deletions

View File

@ -519,8 +519,8 @@ switch_status_t create_acceptor() {
char ipbuf[48];
const char *ip_addr;
#if ERLANG_MAJOR >= 10
ei_init();
#if (ERLANG_MAJOR == 10 && ERLANG_MINOR >= 3) || ERLANG_MAJOR >= 11
ei_init();
#endif
/* if the config has specified an erlang release compatibility then pass that along to the erlang interface */