From 866240d4fd948598e06945a4327176403a736ea3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 22 Dec 2008 18:04:39 +0100 Subject: [PATCH] secur32: Check for lack of fork() support. --- dlls/secur32/dispatcher.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/secur32/dispatcher.c b/dlls/secur32/dispatcher.c index 5707e6a2546..91f425ca1f9 100644 --- a/dlls/secur32/dispatcher.c +++ b/dlls/secur32/dispatcher.c @@ -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)