runtime: If O_CLOEXEC is not defined, define it as 0.
From-SVN: r181814
This commit is contained in:
parent
8afa2bfbdc
commit
421ecf992e
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ runtime_futexwakeup(uint32 *addr, uint32 cnt)
|
|||
*(int32*)0x1006 = 0x1006;
|
||||
}
|
||||
|
||||
#ifndef O_CLOEXEC
|
||||
#define O_CLOEXEC 0
|
||||
#endif
|
||||
|
||||
static int32
|
||||
getproccount(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue