define WAIT_ANY == -1 if it's undefined.

2000-05-11  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimp.c: define WAIT_ANY == -1 if it's undefined.
This commit is contained in:
Michael Natterer 2000-05-11 11:51:09 +00:00 committed by Michael Natterer
parent f9801bc37c
commit 1de6e6d7f1
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-05-11 Michael Natterer <mitch@gimp.org>
* libgimp/gimp.c: define WAIT_ANY == -1 if it's undefined.
2000-05-10 Michael Natterer <mitch@gimp.org>
Another try to get the signal/dead child recovery stuff right.

View File

@ -26,18 +26,27 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifndef WAIT_ANY
#define WAIT_ANY -1
#endif
#ifndef G_OS_WIN32
#include "gimpsignal.h"
#else