HAVE_FDATASYNC is not into master

This commit is contained in:
benrubson 2017-08-07 09:11:45 +02:00
parent 483fb7c6cc
commit eb94f78245

View File

@ -93,12 +93,6 @@ check_cxx_source_compiles ("#include <sys/types.h>
" XATTR_ADD_OPT) " XATTR_ADD_OPT)
set (CMAKE_REQUIRED_QUIET ${CMAKE_REQUIRED_QUIET_SAVE}) set (CMAKE_REQUIRED_QUIET ${CMAKE_REQUIRED_QUIET_SAVE})
# Check if we have fdatasync.
include (CheckCXXSourceCompiles)
check_cxx_source_compiles ("#include <unistd.h>
int main() { fdatasync(0); return 1; }
" FDATASYNC)
# Check if we have some standard functions. # Check if we have some standard functions.
include (CheckFuncs) include (CheckFuncs)
check_function_exists_glibc (lchmod HAVE_LCHMOD) check_function_exists_glibc (lchmod HAVE_LCHMOD)