aboutsummaryrefslogtreecommitdiff
path: root/libbacktrace/config.h.in
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2012-09-18 18:06:28 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-09-18 18:06:28 +0000
commit3319ef17d271118e08da767daad9341cbe67c4e0 (patch)
tree44912af377a1284ca36611f9b8acc53b753eb783 /libbacktrace/config.h.in
parentbd3e497d0bab06d287a86af07fda9b6cade4e43f (diff)
downloadgcc-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.in3
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