diff options
author | Andreas Schneider <asn@samba.org> | 2017-04-06 09:02:21 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2017-04-06 09:18:26 +0200 |
commit | fb810a68eae6cb369d799805d3f0cd529f6d893c (patch) | |
tree | 05c8d6e1ba75b2276ce4163b4b0ff5f2b30d184f | |
parent | b139b7c2dae519a8fdd589b4bdff14b9a657fc4a (diff) | |
download | socket_wrapper-fb810a68eae6cb369d799805d3f0cd529f6d893c.tar.gz socket_wrapper-fb810a68eae6cb369d799805d3f0cd529f6d893c.tar.xz socket_wrapper-fb810a68eae6cb369d799805d3f0cd529f6d893c.zip |
cmake: Check for fopen64() function
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | ConfigureChecks.cmake | 1 | ||||
-rw-r--r-- | config.h.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
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 |