aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSeth Jackson <sethjackson@gmail.com>2015-10-17 01:21:50 +0100
committerSeth Jackson <sethjackson@gmail.com>2016-01-01 00:12:28 -0500
commit648aebb8b6dcf28c85477398572e5552062ceb18 (patch)
tree9cc43fcfb7ae66a829eb40f407edf8c1fb822b2f /config
parentd8a2007d477cea2174e20b49342d5feb0bfdb7ce (diff)
downloadrneovim-648aebb8b6dcf28c85477398572e5552062ceb18.tar.gz
rneovim-648aebb8b6dcf28c85477398572e5552062ceb18.tar.bz2
rneovim-648aebb8b6dcf28c85477398572e5552062ceb18.zip
Port fsync() to libuv.
Diffstat (limited to 'config')
-rw-r--r--config/CMakeLists.txt7
-rw-r--r--config/config.h.in1
2 files changed, 3 insertions, 5 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
index 3d7660ed58..c64e7e1ddb 100644
--- a/config/CMakeLists.txt
+++ b/config/CMakeLists.txt
@@ -38,7 +38,6 @@ check_include_files(utime.h HAVE_UTIME_H)
# Functions
check_function_exists(fseeko HAVE_FSEEKO)
-check_function_exists(fsync HAVE_FSYNC)
check_function_exists(getpwent HAVE_GETPWENT)
check_function_exists(getpwnam HAVE_GETPWNAM)
check_function_exists(getpwuid HAVE_GETPWUID)
@@ -101,10 +100,10 @@ endif()
if (NOT "${HAVE_BE64TOH}")
if (NOT "${CMAKE_CROSSCOMPILING}")
# It is safe to make ORDER_BIG_ENDIAN not defined if
- # - HAVE_BE64TOH is true. In this case be64toh will be used unconditionally in
+ # - HAVE_BE64TOH is true. In this case be64toh will be used unconditionally in
# any case and ORDER_BIG_ENDIAN will not be examined.
- # - CMAKE_CROSSCOMPILING *and* HAVE_BE64TOH are both false. In this case
- # be64toh function which uses cycle and arithmetic operations is used which
+ # - CMAKE_CROSSCOMPILING *and* HAVE_BE64TOH are both false. In this case
+ # be64toh function which uses cycle and arithmetic operations is used which
# will work regardless of endianess. Function is sub-optimal though.
check_c_source_runs("
${SI}
diff --git a/config/config.h.in b/config/config.h.in
index 017cb80f2f..b442a732e5 100644
--- a/config/config.h.in
+++ b/config/config.h.in
@@ -18,7 +18,6 @@
#cmakedefine HAVE_FCNTL_H
#cmakedefine HAVE_FD_CLOEXEC
#cmakedefine HAVE_FSEEKO
-#cmakedefine HAVE_FSYNC
#cmakedefine HAVE_GETPWENT
#cmakedefine HAVE_GETPWNAM
#cmakedefine HAVE_GETPWUID