Skip to content
Commit ae92df1e authored by Keith Packard's avatar Keith Packard Committed by Anas Nashif
Browse files

libc/common: Don't use malloc mutex when CONFIG_MULTITHREADING=n



When multithreading is disabled, the whole mutex infrastructure isn't
available. The common malloc code wasn't checking for this case which
caused build failures.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
Tested-by: default avatarDetlev Zundel <dzu@member.fsf.org>
parent a833d20f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment