mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-18 18:05:07 +00:00
Make Emacs compile with musl instead of glibc
* src/alloc.c: musl doesn't have malloc_info (bug#50058).
This commit is contained in:
parent
36964b2358
commit
55772baee1
@ -7318,7 +7318,7 @@ Frames, windows, buffers, and subprocesses count as vectors
|
||||
make_int (strings_consed));
|
||||
}
|
||||
|
||||
#ifdef GNU_LINUX
|
||||
#if defined GNU_LINUX && defined __GLIBC__
|
||||
DEFUN ("malloc-info", Fmalloc_info, Smalloc_info, 0, 0, "",
|
||||
doc: /* Report malloc information to stderr.
|
||||
This function outputs to stderr an XML-formatted
|
||||
@ -7678,7 +7678,7 @@ N should be nonnegative. */);
|
||||
defsubr (&Sgarbage_collect_maybe);
|
||||
defsubr (&Smemory_info);
|
||||
defsubr (&Smemory_use_counts);
|
||||
#ifdef GNU_LINUX
|
||||
#if defined GNU_LINUX && defined __GLIBC__
|
||||
defsubr (&Smalloc_info);
|
||||
#endif
|
||||
defsubr (&Ssuspicious_object);
|
||||
|
Loading…
Reference in New Issue
Block a user