FS-11732 [mod_kazoo] ei_init added in OTP 21.3

This commit is contained in:
lazedo 2019-06-25 14:54:47 +00:00
parent 10a52ebe48
commit ad7db39999
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 */