From 81190c6d89aa7bedbda041c8a8519081856effff Mon Sep 17 00:00:00 2001 From: Michael Giagnocavo Date: Thu, 18 Jun 2015 04:48:18 -0600 Subject: [PATCH] FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true. --- src/switch.c | 1 + 1 file changed, 1 insertion(+) 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 */