diff options
Diffstat (limited to 'windows/msvc/unistd.h')
-rw-r--r-- | windows/msvc/unistd.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/windows/msvc/unistd.h b/windows/msvc/unistd.h index ece86fa749..add10c8843 100644 --- a/windows/msvc/unistd.h +++ b/windows/msvc/unistd.h @@ -26,3 +26,15 @@ // There's no unistd.h, but this is the equivalent #include <io.h> + +#define F_OK 0 +#define W_OK 2 +#define R_OK 4 + +#define STDIN_FILENO 0 +#define STDOUT_FILENO 1 +#define STDERR_FILENO 2 + +#define SEEK_CUR 1 +#define SEEK_END 2 +#define SEEK_SET 0 |