projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8afa2bf
)
runtime: If O_CLOEXEC is not defined, define it as 0.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 29 Nov 2011 19:26:00 +0000
(19:26 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 29 Nov 2011 19:26:00 +0000
(19:26 +0000)
From-SVN: r181814
libgo/runtime/thread-linux.c
patch
|
blob
|
history
diff --git
a/libgo/runtime/thread-linux.c
b/libgo/runtime/thread-linux.c
index
b51f497
..
c08cc0d
100644
(file)
--- a/
libgo/runtime/thread-linux.c
+++ b/
libgo/runtime/thread-linux.c
@@
-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)
{