]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true.
authorMichael Giagnocavo <mgg@giagnocavo.net>
Thu, 18 Jun 2015 10:48:18 +0000 (04:48 -0600)
committerMichael Giagnocavo <mgg@giagnocavo.net>
Thu, 18 Jun 2015 10:53:56 +0000 (04:53 -0600)
src/switch.c

index 3cdda87f09c70ed5876a3a99c162fdc88ffa038e..ab5ac1ac2cf7c24b9f68cbb765cd61aa966c657c 100644 (file)
@@ -491,6 +491,7 @@ int main(int argc, char *argv[])
        switch_bool_t reincarnate = SWITCH_FALSE, reincarnate_reexec = SWITCH_FALSE;
        int fds[2] = { 0, 0 };
 #else
+       const switch_bool_t nf = SWITCH_TRUE;                /* On Windows, force nf to true*/
        switch_bool_t win32_service = SWITCH_FALSE;
 #endif
        switch_bool_t nc = SWITCH_FALSE;                                /* TRUE if we are running in noconsole mode */