FS-7644. Fix build on VS2013/Win by creating and forcing nf (nofork) to true.
This commit is contained in:
parent
16acee025f
commit
81190c6d89
|
@ -491,6 +491,7 @@ int main(int argc, char *argv[])
|
||||||
switch_bool_t reincarnate = SWITCH_FALSE, reincarnate_reexec = SWITCH_FALSE;
|
switch_bool_t reincarnate = SWITCH_FALSE, reincarnate_reexec = SWITCH_FALSE;
|
||||||
int fds[2] = { 0, 0 };
|
int fds[2] = { 0, 0 };
|
||||||
#else
|
#else
|
||||||
|
const switch_bool_t nf = SWITCH_TRUE; /* On Windows, force nf to true*/
|
||||||
switch_bool_t win32_service = SWITCH_FALSE;
|
switch_bool_t win32_service = SWITCH_FALSE;
|
||||||
#endif
|
#endif
|
||||||
switch_bool_t nc = SWITCH_FALSE; /* TRUE if we are running in noconsole mode */
|
switch_bool_t nc = SWITCH_FALSE; /* TRUE if we are running in noconsole mode */
|
||||||
|
|
Loading…
Reference in New Issue