commit | 410942b92a2687f690c886ae1fdc7ad69a3640e0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Jan 25 14:51:53 2022 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jan 25 14:51:53 2022 +0100 |
tree | 82c4266a771f94b7f5f01d366c2801ad32cedc68 | |
parent | 27df87cc6318a96625568163280476b4077a6e61 [diff] |
BUILD: debug/cli: condition test of O_ASYNC to its existence David Carlier reported a build breakage on Haiku since commit 5be7c198e ("DEBUG: cli: add a new "debug dev fd" expert command") due to O_ASYNC not being defined. Ilya also reported it broke the build on Cygwin. It's not that portable and sometimes defined as O_NONBLOCK for portability. But here we don't even need that, as we already condition other flags, let's just ignore it if it does not exist.