]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
default to forking system on non-windows
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 24 May 2012 18:06:32 +0000 (13:06 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 24 May 2012 18:06:32 +0000 (13:06 -0500)
src/switch_core.c

index f89aeb5ee2609557efa7383f37cd6dd8989582b4..8f1543e02845fa539ac0455c04f31d3c6a70b519 100644 (file)
@@ -1431,8 +1431,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
        switch_set_flag((&runtime.dummy_cng_frame), SFF_CNG);
        switch_set_flag((&runtime), SCF_AUTO_SCHEMAS);
        switch_set_flag((&runtime), SCF_CLEAR_SQL);
+#ifdef WIN32
        switch_set_flag((&runtime), SCF_THREADED_SYSTEM_EXEC);
-
+#endif
        switch_set_flag((&runtime), SCF_NO_NEW_SESSIONS);
        runtime.hard_log_level = SWITCH_LOG_DEBUG;
        runtime.mailer_app = "sendmail";