diff options
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r-- | newlib/libc/stdlib/nano-mallocr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/nano-mallocr.c b/newlib/libc/stdlib/nano-mallocr.c index 4a2f4680e..0b5631cae 100644 --- a/newlib/libc/stdlib/nano-mallocr.c +++ b/newlib/libc/stdlib/nano-mallocr.c @@ -58,9 +58,8 @@ #define RCALL reent_ptr, #define RONECALL reent_ptr -/* Disable MALLOC_LOCK so far. So it won't be thread safe */ -#define MALLOC_LOCK /*__malloc_lock(reent_ptr) */ -#define MALLOC_UNLOCK /*__malloc_unlock(reent_ptr) */ +#define MALLOC_LOCK __malloc_lock(reent_ptr) +#define MALLOC_UNLOCK __malloc_unlock(reent_ptr) #define RERRNO reent_ptr->_errno |