Commit 866240d4 authored by Alexandre Julliard's avatar Alexandre Julliard

secur32: Check for lack of fork() support.

parent dc1a9f19
......@@ -44,6 +44,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ntlm);
SECURITY_STATUS fork_helper(PNegoHelper *new_helper, const char *prog,
char* const argv[])
{
#ifdef HAVE_FORK
int pipe_in[2];
int pipe_out[2];
int i;
......@@ -132,6 +133,10 @@ SECURITY_STATUS fork_helper(PNegoHelper *new_helper, const char *prog,
}
return SEC_E_OK;
#else
ERR( "no fork support on this platform\n" );
return SEC_E_INTERNAL_ERROR;
#endif
}
static SECURITY_STATUS read_line(PNegoHelper helper, int *offset_len)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment