diff options
author | Ian Lance Taylor <iant@google.com> | 2012-09-18 18:06:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-09-18 18:06:28 +0000 |
commit | 3319ef17d271118e08da767daad9341cbe67c4e0 (patch) | |
tree | 44912af377a1284ca36611f9b8acc53b753eb783 /libbacktrace/config.h.in | |
parent | bd3e497d0bab06d287a86af07fda9b6cade4e43f (diff) | |
download | gcc-3319ef17d271118e08da767daad9341cbe67c4e0.zip gcc-3319ef17d271118e08da767daad9341cbe67c4e0.tar.gz gcc-3319ef17d271118e08da767daad9341cbe67c4e0.tar.bz2 |
posix.c (O_BINARY): Define if not defined.
* posix.c (O_BINARY): Define if not defined.
(backtrace_open): Pass O_BINARY to open. Only call fcntl if
HAVE_FCNTL is defined.
* configure.ac: Test for the fcntl function.
* configure, config.h.in: Rebuild.
From-SVN: r191443
Diffstat (limited to 'libbacktrace/config.h.in')
-rw-r--r-- | libbacktrace/config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbacktrace/config.h.in b/libbacktrace/config.h.in index 6a31c53..090e8d8 100644 --- a/libbacktrace/config.h.in +++ b/libbacktrace/config.h.in @@ -10,6 +10,9 @@ /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H +/* Define to 1 if you have the fcntl function */ +#undef HAVE_FCNTL + /* Define if _Unwind_GetIPInfo is available. */ #undef HAVE_GETIPINFO |