Added check for fork() to fix the MinGW build.

oldstable
Hans Leidekker 2004-10-14 03:08:57 +00:00 committed by Alexandre Julliard
parent a89ac894ab
commit bed3842c9a
4 changed files with 8 additions and 0 deletions

2
configure vendored
View File

@ -16149,6 +16149,7 @@ fi
for ac_func in \
@ -16165,6 +16166,7 @@ for ac_func in \
clone \
epoll_create \
finite \
fork \
fpclass \
fstatfs \
fstatvfs \

View File

@ -1074,6 +1074,7 @@ AC_CHECK_FUNCS(\
clone \
epoll_create \
finite \
fork \
fpclass \
fstatfs \
fstatvfs \

View File

@ -481,6 +481,7 @@ static int CreateSpoolFile(LPCSTR pszOutput)
return -1;
}
TRACE("command: '%s'\n", psCmdP);
#ifdef HAVE_FORK
if (*psCmdP == '|')
{
int fds[2];
@ -510,6 +511,7 @@ static int CreateSpoolFile(LPCSTR pszOutput)
TRACE("Need to execute a cmnd and pipe the output to it\n");
}
else
#endif
{
char *buffer;
WCHAR psCmdPW[MAX_PATH];

View File

@ -92,6 +92,9 @@
/* Define to 1 if you have the <fontconfig/fontconfig.h> header file. */
#undef HAVE_FONTCONFIG_FONTCONFIG_H
/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK
/* Define to 1 if you have the `fpclass' function. */
#undef HAVE_FPCLASS