mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
os/fs: Define os_strerror as an alias to uv_strerror
It is not needed to know that os/* uses libuv.
This commit is contained in:
parent
57d3a2a52f
commit
c71dca0cbd
@ -21,4 +21,9 @@ typedef struct {
|
||||
uv_dirent_t ent; ///< @private The entry information.
|
||||
} Directory;
|
||||
|
||||
/// Function to convert -errno error to char * error description
|
||||
///
|
||||
/// -errno errors are returned by a number of os functions.
|
||||
#define os_strerror uv_strerror
|
||||
|
||||
#endif // NVIM_OS_FS_DEFS_H
|
||||
|
Loading…
Reference in New Issue
Block a user