1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00

Fix bug #12805 with compilation error in the cygw32 build.

src/makefile.w32-in ($(BLD)/w32fns.$(O)): Depend on $(NT_INC)/unistd.h.
 src/w32fns.c Include unistd.h, to avoid compiler warnings on Cygwin.
 (emacs_abort) [CYGWIN]: Don't call _open_osfhandle; instead, use
 file descriptor 2 for standard error.
This commit is contained in:
Eli Zaretskii 2012-11-05 18:30:45 +02:00
parent 4f3f021d65
commit c8e3a9c3db
3 changed files with 18 additions and 1 deletions

View file

@ -1564,6 +1564,7 @@ $(BLD)/w32fns.$(O) : \
$(SRC)/w32.h \
$(SRC)/w32common.h \
$(SRC)/w32heap.h \
$(NT_INC)/unistd.h \
$(BUFFER_H) \
$(CCL_H) \
$(CHARACTER_H) \