From fb810a68eae6cb369d799805d3f0cd529f6d893c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 6 Apr 2017 09:02:21 +0200 Subject: cmake: Check for fopen64() function 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 6a00677..0691c8a 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -64,6 +64,7 @@ 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(fopen64 HAVE_FOPEN64) check_function_exists(pledge HAVE_PLEDGE) diff --git a/config.h.cmake b/config.h.cmake index 9b1cded..2f494a4 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -41,6 +41,7 @@ #cmakedefine HAVE_BINDRESVPORT 1 #cmakedefine HAVE_ACCEPT4 1 #cmakedefine HAVE_OPEN64 1 +#cmakedefine HAVE_FOPEN64 1 #cmakedefine HAVE_PLEDGE 1 #cmakedefine HAVE_ACCEPT_PSOCKLEN_T 1 -- cgit