From 3fc5e44aaaac666b7f6a77b2e2fcc0c6646659d5 Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Wed, 13 Mar 2013 11:28:50 -0800 Subject: [PATCH] * emacs.c (main): Call syms_of_cygw32 on CYGWIN non-NTGUI builds too so that these builds can use Cygwin's file conversion functions. (We've been building and linking cygw32.o all along and just not using it.) --- src/ChangeLog | 7 +++++++ src/emacs.c | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d328d0a74ca..8f379e25b49 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2013-03-13 Daniel Colascione + + * emacs.c (main): Call syms_of_cygw32 on CYGWIN non-NTGUI builds + too so that these builds can use Cygwin's file conversion + functions. (We've been building and linking cygw32.o all along + and just not using it.) + 2013-03-13 Paul Eggert File synchronization fixes (Bug#13944). diff --git a/src/emacs.c b/src/emacs.c index b96076b1340..bd33583af0c 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -44,7 +44,7 @@ along with GNU Emacs. If not, see . */ #include "w32common.h" #endif -#if defined HAVE_NTGUI && defined CYGWIN +#if defined CYGWIN #include "cygw32.h" #endif @@ -1348,7 +1348,7 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem #ifdef WINDOWSNT syms_of_ntproc (); #endif /* WINDOWSNT */ -#if defined CYGWIN && defined HAVE_NTGUI +#if defined CYGWIN syms_of_cygw32 (); #endif syms_of_window (); -- 2.39.2