From 825b80eaa311b0aec4c00614f38f3eb63949d5a7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 16 Apr 2024 12:57:52 +0000 Subject: Tentative support for old MacOS with no O_CLOEXEC Also add a prototype for gol, not finished yet. Signed-off-by: Laurent Bercot --- src/sysdeps/tryocloexec.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/sysdeps/tryocloexec.c (limited to 'src/sysdeps') diff --git a/src/sysdeps/tryocloexec.c b/src/sysdeps/tryocloexec.c new file mode 100644 index 0000000..bd318ae --- /dev/null +++ b/src/sysdeps/tryocloexec.c @@ -0,0 +1,5 @@ +/* ISC license. */ + +#include + +int dummy = O_CLOEXEC ; -- cgit v1.2.3