Commit 789b5e9a authored by Ken Brown's avatar Ken Brown
Browse files

* src/w32fns.c (emacs_abort) [CYGWIN]: Define `_open' as a macro.

parent 4f3576ee
2013-03-24 Ken Brown <kbrown@cornell.edu>
* w32fns.c (emacs_abort) [CYGWIN]: Define `_open' as a macro to
fix compilation on 64-bit Cygwin, where underscores are not
automatically prepended.
* w32term.c (w32_initialize): Silence compiler warning.
2013-03-23 Eli Zaretskii <eliz@gnu.org>
......
......@@ -7759,6 +7759,9 @@ emacs_abort (void)
#endif
if (stderr_fd >= 0)
write (stderr_fd, "\r\nBacktrace:\r\n", 14);
#ifdef CYGWIN
#define _open open
#endif
errfile_fd = _open ("emacs_backtrace.txt", O_RDWR | O_CREAT | O_BINARY, S_IREAD | S_IWRITE);
if (errfile_fd >= 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment