projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libctf: work on platforms without O_CLOEXEC.
[deliverable/binutils-gdb.git]
/
libctf
/
ctf-decls.h
diff --git
a/libctf/ctf-decls.h
b/libctf/ctf-decls.h
index d12409e4b608d28a68ff1db4f3c21ee2d2f58fc7..c840b793c9bdf8cb9983c42dd9f860f3c04a2e90 100644
(file)
--- a/
libctf/ctf-decls.h
+++ b/
libctf/ctf-decls.h
@@
-62,6
+62,10
@@
void ctf_qsort_r (void *base, size_t nmemb, size_t size,
void *arg);
#endif
+#ifndef HAVE_O_CLOEXEC
+# define O_CLOEXEC 0
+#endif
+
#undef MAX
#undef MIN
#define MAX(a, b) ((a) > (b) ? (a) : (b))
This page took
0.027488 seconds
and
4
git commands to generate.