]> git.ipfire.org Git - thirdparty/gcc.git/commit
posix.c (O_BINARY): Define if not defined.
authorIan Lance Taylor <iant@google.com>
Tue, 18 Sep 2012 18:06:28 +0000 (18:06 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 18 Sep 2012 18:06:28 +0000 (18:06 +0000)
commit3319ef17d271118e08da767daad9341cbe67c4e0
tree44912af377a1284ca36611f9b8acc53b753eb783
parentbd3e497d0bab06d287a86af07fda9b6cade4e43f
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
libbacktrace/ChangeLog
libbacktrace/config.h.in
libbacktrace/configure
libbacktrace/configure.ac
libbacktrace/posix.c