mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
test: sys/fcntl.h -> fcntl.h
POSIX.1-2008[1] says that the latter should be used, and all of our supported platforms would seem to support this scheme, apparently even Windows[2]. [1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html [2]: https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
This commit is contained in:
parent
4034670568
commit
729064af5f
@ -1,4 +1,4 @@
|
||||
#include <sys/fcntl.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
static const mode_t kO_RDONLY = O_RDONLY;
|
||||
static const mode_t kO_WRONLY = O_WRONLY;
|
@ -22,7 +22,7 @@ cimport('./src/nvim/main.h')
|
||||
cimport('./src/nvim/fileio.h')
|
||||
local fs = cimport('./src/nvim/os/os.h')
|
||||
cppimport('sys/stat.h')
|
||||
cppimport('sys/fcntl.h')
|
||||
cppimport('fcntl.h')
|
||||
cppimport('uv-errno.h')
|
||||
|
||||
local buffer = ""
|
||||
|
Loading…
Reference in New Issue
Block a user