From: Michael Giagnocavo Date: Thu, 18 Jun 2015 10:48:18 +0000 (-0600) Subject: FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true. X-Git-Tag: v1.6.2~436^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81190c6d89aa7bedbda041c8a8519081856effff;p=thirdparty%2Ffreeswitch.git FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true. --- diff --git a/src/switch.c b/src/switch.c index 3cdda87f09..ab5ac1ac2c 100644 --- a/src/switch.c +++ b/src/switch.c @@ -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 */