Skip to content
Snippets Groups Projects
Commit adf3d381 authored by rswindell's avatar rswindell
Browse files

#defines STDIN/OUT/ERR_FILENO constants if not already defined.

parent 7af7e922
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,13 @@
#endif
/* Standard file descriptors. */
#ifndef STDIN_FILENO
#define STDIN_FILENO 0 /* Standard input */
#define STDOUT_FILENO 1 /* Standard output */
#define STDERR_FILENO 2 /* Standard error output */
#endif
#ifndef O_DENYNONE
#define O_DENYNONE SH_DENYNO
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment