diff options
| author | ZyX <kp-pav@yandex.ru> | 2016-06-01 22:57:52 +0300 |
|---|---|---|
| committer | ZyX <kp-pav@yandex.ru> | 2016-06-23 21:17:51 +0300 |
| commit | 11dda658d6f0c4470a54012df71be73b4e9a5f57 (patch) | |
| tree | abdc359b9f730253893f60d11c85af39d74e6308 /config | |
| parent | 65af001f2bcc35f19d64b4d2c1dbcd46d87432e8 (diff) | |
| download | rneovim-11dda658d6f0c4470a54012df71be73b4e9a5f57.tar.gz rneovim-11dda658d6f0c4470a54012df71be73b4e9a5f57.tar.bz2 rneovim-11dda658d6f0c4470a54012df71be73b4e9a5f57.zip | |
file,os/fs,shada: Separate opening, closing, writing and reading files
Moves low-level functions handling to os/fs.c. Adds file.c with a proxy
interface.
Target: while leaving syscalls handling is os.c (partially handled by libuv),
add buffering for reading and writing to file.c.
Diffstat (limited to 'config')
| -rw-r--r-- | config/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | config/config.h.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index e794a8c5b9..e1e90c6a9d 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -33,6 +33,7 @@ check_function_exists(fseeko HAVE_FSEEKO) check_function_exists(getpwent HAVE_GETPWENT) check_function_exists(getpwnam HAVE_GETPWNAM) check_function_exists(getpwuid HAVE_GETPWUID) +check_function_exists(uv_translate_sys_error HAVE_UV_TRANSLATE_SYS_ERROR) if(Iconv_FOUND) set(HAVE_ICONV 1) diff --git a/config/config.h.in b/config/config.h.in index 867278de0d..7f16fd1928 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -30,6 +30,7 @@ #cmakedefine HAVE_PUTENV_S #cmakedefine HAVE_PWD_H #cmakedefine HAVE_READLINK +#cmakedefine HAVE_UV_TRANSLATE_SYS_ERROR // TODO: add proper cmake check // #define HAVE_SELINUX 1 #cmakedefine HAVE_SETENV |