diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-10-01 22:01:51 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2021-10-01 22:02:22 -0400 |
commit | 37209081673bc74a8cd27cec545f569da967e613 (patch) | |
tree | 77ce98d7aa76ffa8dbb16888bd81612c24ac9416 /src/fdevent.c | |
parent | 434fab4929abec99683c36bb9ad34aae788bc44e (diff) | |
download | lighttpd-git-37209081673bc74a8cd27cec545f569da967e613.tar.gz |
[core] portability tweaks for various platforms/cc
Diffstat (limited to 'src/fdevent.c')
-rw-r--r-- | src/fdevent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fdevent.c b/src/fdevent.c index 613bb2ee..66f3ea48 100644 --- a/src/fdevent.c +++ b/src/fdevent.c @@ -638,6 +638,8 @@ int fdevent_pipe_cloexec (int * const fds, const unsigned int bufsz_hint) { #ifdef F_SETPIPE_SZ if (bufsz_hint > 65536) if (0 != fcntl(fds[1], F_SETPIPE_SZ, bufsz_hint)) { } /*(ignore error)*/ + #else + UNUSED(bufsz_hint); #endif return 0; #endif |