[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 55772ba: Make Emacs compile with musl instead of glibc
From: |
Lars Ingebrigtsen |
Subject: |
master 55772ba: Make Emacs compile with musl instead of glibc |
Date: |
Sun, 15 Aug 2021 07:25:28 -0400 (EDT) |
branch: master
commit 55772baee1627571c0814cf2d666fb3b963ff591
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Make Emacs compile with musl instead of glibc
* src/alloc.c: musl doesn't have malloc_info (bug#50058).
---
src/alloc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/alloc.c b/src/alloc.c
index 8edcd06..4ea337d 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 55772ba: Make Emacs compile with musl instead of glibc,
Lars Ingebrigtsen <=