mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
FS-11732 [mod_kazoo] ei_init added in OTP 21.3
This commit is contained in:
1 parent
10a52ebe48
commit
ad7db39999
1 file changed
+2
-2
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user