lib: micro-c: implement sbrk emulation and dlmalloc
This commit is contained in:
4
lib/ulibc/stdlib/abort.c
Normal file
4
lib/ulibc/stdlib/abort.c
Normal file
@@ -0,0 +1,4 @@
|
||||
void abort(void)
|
||||
{
|
||||
/* TODO */
|
||||
}
|
||||
@@ -589,7 +589,15 @@ MAX_RELEASE_CHECK_RATE default: 4095 unless not HAVE_MMAP
|
||||
#endif /* DARWIN */
|
||||
|
||||
#if defined(__mango__)
|
||||
#define LACKS_SYS_TYPES_H
|
||||
#include <stddef.h>
|
||||
#define LACKS_SYS_TYPES_H 1
|
||||
#define NO_MALLOC_STATS 1
|
||||
#define HAVE_MORECORE 1
|
||||
#define HAVE_MMAP 0
|
||||
#define LACKS_TIME_H 1
|
||||
#define LACKS_SCHED_H 1
|
||||
#define LACKS_SYS_PARAM_H 1
|
||||
#define MALLOC_FAILURE_ACTION
|
||||
#endif
|
||||
|
||||
#ifndef LACKS_SYS_TYPES_H
|
||||
|
||||
Reference in New Issue
Block a user