Skip to content

Commit 9bac713

Browse files
committed
build: make HAVE_O_CLOEXEC available outside LevelDB (bugfix)
1 parent 584fd91 commit 9bac713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>]],
11511151
[ AC_MSG_RESULT(yes); HAVE_O_CLOEXEC=1 ],
11521152
[ AC_MSG_RESULT(no); HAVE_O_CLOEXEC=0 ]
11531153
)
1154+
AC_DEFINE_UNQUOTED([HAVE_O_CLOEXEC], [$HAVE_O_CLOEXEC], [Define to 1 if O_CLOEXEC flag is available.])
11541155

11551156
dnl crc32c platform checks
11561157
AC_MSG_CHECKING(for __builtin_prefetch)

0 commit comments

Comments
 (0)