Moved malloc implementations to a separate folder
This commit is contained in:
@@ -231,12 +231,23 @@
|
||||
|
||||
/* #define WIN32 */
|
||||
|
||||
#if __STD_C
|
||||
#include <stddef.h> /* for size_t */
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifdef __magenta__
|
||||
#define LACKS_UNISTD_H
|
||||
#define LACKS_SYS_PARAM_H
|
||||
#define LACKS_SYS_MMAN_H
|
||||
|
||||
extern void *__extend_heap(size_t sz);
|
||||
|
||||
#define HAVE_MMAP 0
|
||||
#define MORECORE __extend_heap
|
||||
#define MORECORE_CONTIGUOUS 1
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
@@ -311,12 +322,6 @@ static int cpuinfo (int whole, unsigned long*kernel, unsigned long*user);
|
||||
#endif
|
||||
#endif /*Void_t*/
|
||||
|
||||
#if __STD_C
|
||||
#include <stddef.h> /* for size_t */
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
Reference in New Issue
Block a user