Subject: bug#22403: compile error on cygwin in emacs-25

From: Lin Sun (孙林) <[email-masked]>
Date: Tue, 19 Jan 2016 01:44:12 +0000

Hi Pals,

The commit 86e45139698fe773ffb4efbe59387f90201b80c8<http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=86e45139698fe773ffb4efbe59387f90201b80c8> have a compile error on Cygwin,
The resetstkoflw was declared with “#ifndef CYGWIN” in src/w32fns.c<http://git.savannah.gnu.org/cgit/emacs.git/diff/src/w32fns.c?h=emacs-25&id=86e45139698fe773ffb4efbe59387f90201b80c8>, reset in line  9938 without same condition.
@@ -9927,6 +9935,8 @@ globals_of_w32fns (void)
   after_deadkey = -1;
+  resetstkoflw = NULL;
+
   /* MessageBox does not work without this when linked to comctl32.dll 6.0.  */
   InitCommonControls ();
Please fix this, thank you.

Best Regards
Lin Sun