From 9bac71350d98580cc7441957fc7c3fa2f4158553 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Sun, 21 Feb 2021 02:56:13 +0100 Subject: build: make HAVE_O_CLOEXEC available outside LevelDB (bugfix) --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 426b184e5d..ca4ee94843 100644 --- a/configure.ac +++ b/configure.ac @@ -1151,6 +1151,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [ AC_MSG_RESULT(yes); HAVE_O_CLOEXEC=1 ], [ AC_MSG_RESULT(no); HAVE_O_CLOEXEC=0 ] ) +AC_DEFINE_UNQUOTED([HAVE_O_CLOEXEC], [$HAVE_O_CLOEXEC], [Define to 1 if O_CLOEXEC flag is available.]) dnl crc32c platform checks AC_MSG_CHECKING(for __builtin_prefetch) -- cgit v1.2.3