From f6cea7c9e73de0a3c9643d300966e5cbe91d1635 Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Wed, 12 Mar 2014 13:57:42 -0700 Subject: windows/unistd: Add definitions for STD*_FILENO. Signed-off-by: Gurucharan Shetty --- include/windows/unistd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/windows') diff --git a/include/windows/unistd.h b/include/windows/unistd.h index 0f553bb96..d9ded5ac8 100644 --- a/include/windows/unistd.h +++ b/include/windows/unistd.h @@ -18,4 +18,9 @@ #define fsync _commit +/* Standard file descriptors. */ +#define STDIN_FILENO 0 /* Standard input. */ +#define STDOUT_FILENO 1 /* Standard output. */ +#define STDERR_FILENO 2 /* Standard error output. */ + #endif /* unistd.h */ -- cgit v1.2.1