aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/fs_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/os/fs_defs.h')
-rw-r--r--src/nvim/os/fs_defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/os/fs_defs.h b/src/nvim/os/fs_defs.h
index c9b148a5aa..68e5c74ee1 100644
--- a/src/nvim/os/fs_defs.h
+++ b/src/nvim/os/fs_defs.h
@@ -24,6 +24,9 @@ typedef struct {
/// Converts libuv error (negative int) to error description string.
#define os_strerror uv_strerror
+/// Converts system error code to libuv error code.
+#define os_translate_sys_error uv_translate_sys_error
+
// Values returned by os_nodetype()
#define NODE_NORMAL 0 // file or directory, check with os_isdir()
#define NODE_WRITABLE 1 // something we can write to (character