emacs-devel
[Top][All Lists]
Advanced

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

Re: Fix for Cygwin/GSlice problem


From: Stefan Monnier
Subject: Re: Fix for Cygwin/GSlice problem
Date: Tue, 08 Dec 2009 20:33:53 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> +/* Emacs supplies its own malloc, but glib (part of Gtk+) calls
> +   memalign and on Cygwin, that becomes the Cygwin supplied memalign.
> +   As malloc is not the Cygwin malloc, the Cygwin memalign always
> +   returns ENOSYS.  A workaround is to set G_SLICE=always-malloc. */
> +#define G_SLICE_ALWAYS_MALLOC

Why does Cygwin-Emacs use its own malloc rather than the system malloc?


        Stefan




reply via email to

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