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.
This commit is contained in:
parent
555ccdc215
commit
4ffea44780
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue