emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 32cb203: Unbreak the Cygwin-w32 build


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 32cb203: Unbreak the Cygwin-w32 build
Date: Tue, 19 Jan 2016 16:11:38 +0000

branch: emacs-25
commit 32cb203c086163e40ecc040e61e5d304e101b602
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Unbreak the Cygwin-w32 build
    
    * src/w32fns.c (globals_of_w32fns): Move the initialization of
    resetstkoflw into a part that isn't compiled on Cygwin.
    (Bug#22403)
---
 src/w32fns.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/w32fns.c b/src/w32fns.c
index 01f5d6f..a5018ae 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -9921,6 +9921,7 @@ globals_of_w32fns (void)
   except_addr = 0;
 #ifndef CYGWIN
   prev_exception_handler = SetUnhandledExceptionFilter (my_exception_handler);
+  resetstkoflw = NULL;
 #endif
 
   DEFVAR_INT ("w32-ansi-code-page",
@@ -9935,8 +9936,6 @@ globals_of_w32fns (void)
 
   after_deadkey = -1;
 
-  resetstkoflw = NULL;
-
   /* MessageBox does not work without this when linked to comctl32.dll 6.0.  */
   InitCommonControls ();
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]