Commit f6eb850d by Michael Bushnell

[!POSIX]: Only define O_RDONLY and O_WRONLY if they are not already

defined for us.

From-SVN: r8404
parent 1dc8a823
......@@ -130,8 +130,13 @@ typedef char * const_pointer_type;
#define X_OK 1 /* Test for eXecute permission */
#define F_OK 0 /* Test for existence of File */
#ifndef O_RDONLY
#define O_RDONLY 0
#endif
#ifndef O_WRONLY
#define O_WRONLY 1
#endif
#ifndef WIFSIGNALED
#define WIFSIGNALED(S) (((S) & 0xff) != 0 && ((S) & 0xff) != 0x7f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment