FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true.

This commit is contained in:
Michael Giagnocavo 2015-06-18 04:48:18 -06:00
parent 16acee025f
commit 81190c6d89
1 changed files with 1 additions and 0 deletions

View 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 */