runtime: If O_CLOEXEC is not defined, define it as 0.

From-SVN: r181814
This commit is contained in:
Ian Lance Taylor 2011-11-29 19:26:00 +00:00
parent 8afa2bfbdc
commit 421ecf992e
1 changed files with 4 additions and 0 deletions

View File

@ -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)
{