diff options
author | Michael Reed <m.reed@mykolab.com> | 2016-01-14 17:19:36 -0500 |
---|---|---|
committer | Michael Reed <m.reed@mykolab.com> | 2016-01-14 23:36:58 -0500 |
commit | 729064af5fd154716a644fb89c1b165e44972454 (patch) | |
tree | 4700d63d4be5988039a1944c7369f3bccb63f344 /test/includes/pre/fcntl.h | |
parent | 403467056818dce535059c87f289db00b0d4216c (diff) | |
download | rneovim-729064af5fd154716a644fb89c1b165e44972454.tar.gz rneovim-729064af5fd154716a644fb89c1b165e44972454.tar.bz2 rneovim-729064af5fd154716a644fb89c1b165e44972454.zip |
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
Diffstat (limited to 'test/includes/pre/fcntl.h')
-rw-r--r-- | test/includes/pre/fcntl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/includes/pre/fcntl.h b/test/includes/pre/fcntl.h new file mode 100644 index 0000000000..9c50ed5b1d --- /dev/null +++ b/test/includes/pre/fcntl.h @@ -0,0 +1,7 @@ +#include <fcntl.h> + +static const mode_t kO_RDONLY = O_RDONLY; +static const mode_t kO_WRONLY = O_WRONLY; +static const mode_t kO_RDWR = O_RDWR; +static const mode_t kO_CREAT = O_CREAT; +static const mode_t kO_EXCL = O_EXCL; |