diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1997-09-12 09:32:20 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1997-09-12 09:32:20 -0400 |
commit | 2f5222ea2a4d549b4f269c11d34016fc7dc58dde (patch) | |
tree | a71f2059819076b2adf4922b25d7cbe7d217c3fe /src/LYCgi.c | |
parent | 549ec595d1da7693d5f7730e63f539cc8452307f (diff) | |
download | lynx-snapshots-2f5222ea2a4d549b4f269c11d34016fc7dc58dde.tar.gz |
snapshot of project "lynx", label v2-7-1ac_0-64
Diffstat (limited to 'src/LYCgi.c')
-rw-r--r-- | src/LYCgi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LYCgi.c b/src/LYCgi.c index c3658cae..3e825502 100644 --- a/src/LYCgi.c +++ b/src/LYCgi.c @@ -289,11 +289,11 @@ PRIVATE int LYLoadCGI ARGS4( int fd1[2], fd2[2]; char buf[1024]; pid_t pid; -#if defined(NeXT) || defined(AIX4) || defined(sony_news) +#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID union wait wstatus; #else int wstatus; -#endif /* NeXT || AIX4 || sony_news */ +#endif /* Decode full HTTP response */ format_in = HTAtom_for("www/mime"); @@ -376,12 +376,12 @@ PRIVATE int LYLoadCGI ARGS4( (*target->isa->put_block)(target, buf, chars); } -#if defined(NeXT) || defined(AIX4) || defined(sony_news) +#if HAVE_TYPE_UNION_WAIT && !HAVE_WAITPID while (wait(&wstatus) != pid) ; /* do nothing */ #else waitpid(pid, &wstatus, 0); /* wait for child */ -#endif /* NeXT || AIX4 || sony_news */ +#endif if (anAnchor->post_data) { close(fd1[1]); } |