diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2019-06-04 15:04:49 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2019-06-04 17:05:08 +0100 |
commit | ad118caa9f690114d11384b0813f30980cc333f3 (patch) | |
tree | 3261c7175a31eb17ae72c2a8f0d107c4d1ad9f59 /libctf/config.h.in | |
parent | 6b22174ff163b828a2069f22353018ca97fc0fb4 (diff) | |
download | gdb-ad118caa9f690114d11384b0813f30980cc333f3.zip gdb-ad118caa9f690114d11384b0813f30980cc333f3.tar.gz gdb-ad118caa9f690114d11384b0813f30980cc333f3.tar.bz2 |
libctf: work on platforms without O_CLOEXEC.
(Not tested on any such platforms, since I don't have access to any at
the moment. Testing encouraged.)
libctf/
* configure.ac: Check for O_CLOEXEC.
* ctf-decls.h (O_CLOEXEC): Define (to 0), if need be.
* config.h.in: Regenerate.
Diffstat (limited to 'libctf/config.h.in')
-rw-r--r-- | libctf/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libctf/config.h.in b/libctf/config.h.in index d81c500..3f45cd6 100644 --- a/libctf/config.h.in +++ b/libctf/config.h.in @@ -24,6 +24,9 @@ /* Define to 1 if you have a working `mmap' system call. */ #undef HAVE_MMAP +/* Whether the platform has a definition of O_CLOEXEC. */ +#undef HAVE_O_CLOEXEC + /* Define to 1 if you have the `pread' function. */ #undef HAVE_PREAD |