Commit 4ffea447 authored by Ken Brown's avatar Ken Brown

Fix non-GTK builds on Cygwin

* src/emacs.c (main): Set the G_SLICE environment variable for all
  Cygwin builds, not just GTK builds.  See
  https://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00368.html.
parent 555ccdc2
2012-11-20 Ken Brown <kbrown@cornell.edu>
* emacs.c (main): Set the G_SLICE environment variable for all
Cygwin builds, not just GTK builds. See
https://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00368.html.
2012-11-19 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (start_hourglass) [HAVE_NTGUI]: Don't mix declaration of
......
......@@ -702,7 +702,7 @@ main (int argc, char **argv)
stack_base = &dummy;
#endif
#if defined (USE_GTK) && defined (G_SLICE_ALWAYS_MALLOC)
#ifdef G_SLICE_ALWAYS_MALLOC
/* This is used by the Cygwin build. */
setenv ("G_SLICE", "always-malloc", 1);
#endif
......
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