From ef679984f4a85b4b75a85fc41df4d16a92f26721 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 28 Mar 2017 09:03:02 +0200 Subject: cmake: Check for open64() function BUG: https://bugzilla.samba.org/show_bug.cgi?id=12694 Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- ConfigureChecks.cmake | 1 + config.h.cmake | 1 + 2 files changed, 2 insertions(+) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 71b34ce..6a00677 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -63,6 +63,7 @@ check_function_exists(eventfd HAVE_EVENTFD) check_function_exists(timerfd_create HAVE_TIMERFD_CREATE) check_function_exists(bindresvport HAVE_BINDRESVPORT) check_function_exists(accept4 HAVE_ACCEPT4) +check_function_exists(open64 HAVE_OPEN64) check_function_exists(pledge HAVE_PLEDGE) diff --git a/config.h.cmake b/config.h.cmake index 6786b8a..9b1cded 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -40,6 +40,7 @@ #cmakedefine HAVE_TIMERFD_CREATE 1 #cmakedefine HAVE_BINDRESVPORT 1 #cmakedefine HAVE_ACCEPT4 1 +#cmakedefine HAVE_OPEN64 1 #cmakedefine HAVE_PLEDGE 1 #cmakedefine HAVE_ACCEPT_PSOCKLEN_T 1 -- cgit