diff options
| author | Andreas Schneider <asn@samba.org> | 2017-03-28 09:03:02 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@samba.org> | 2017-04-06 09:18:17 +0200 |
| commit | ef679984f4a85b4b75a85fc41df4d16a92f26721 (patch) | |
| tree | 906a714e91dc469cb7ffa8a3024d2c55127254a8 | |
| parent | f64d6bd6526b046c350e8e421204461ee66cf9b8 (diff) | |
| download | socket_wrapper-ef679984f4a85b4b75a85fc41df4d16a92f26721.tar.gz socket_wrapper-ef679984f4a85b4b75a85fc41df4d16a92f26721.tar.xz socket_wrapper-ef679984f4a85b4b75a85fc41df4d16a92f26721.zip | |
cmake: Check for open64() function
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12694
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 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 |
