[Bug 257450] MALLOC_DEFINE macro error in Freebsd13 OS

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jul 2021 13:20:36 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257450

Mark Johnston <markj_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
                 CC|                            |markj_at_FreeBSD.org
         Resolution|---                         |Not A Bug

--- Comment #1 from Mark Johnston <markj_at_FreeBSD.org> ---
MALLOC_DEFINE is for the kernel's malloc() implementation, not the userspace
malloc().  Note that in sys/malloc.h, _KERNEL needs to be defined for the
MALLOC_DEFINE macro to be visible.

If you have programming questions, please use the mailing lists (e.g.,
freebsd-questions,
https://lists.freebsd.org/mailman/listinfo/freebsd-questions) or the forums
(https://forums.freebsd.org/) to ask, rather than submitting issues to the bug
tracker.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue Jul 27 2021 - 13:20:36 UTC

Original text of this message