1*906afcb8SAndy Fiddaman/* : : generated from contrib/ast/src/lib/libast/features/vmalloc by iffe version 2012-07-17 : : */ 2*906afcb8SAndy Fiddaman#ifndef _def_vmalloc_ast 3*906afcb8SAndy Fiddaman#define _def_vmalloc_ast 1 4*906afcb8SAndy Fiddaman#define _sys_types 1 /* #include <sys/types.h> ok */ 5*906afcb8SAndy Fiddaman#define _lib_atexit 1 /* atexit() in default lib(s) */ 6*906afcb8SAndy Fiddaman#define _lib_getpagesize 1 /* getpagesize() in default lib(s) */ 7*906afcb8SAndy Fiddaman#define _lib_memalign 1 /* memalign() in default lib(s) */ 8*906afcb8SAndy Fiddaman#define _lib_strdup 1 /* strdup() in default lib(s) */ 9*906afcb8SAndy Fiddaman#define _lib_valloc 1 /* valloc() in default lib(s) */ 10*906afcb8SAndy Fiddaman#define _hdr_alloca 1 /* #include <alloca.h> ok */ 11*906afcb8SAndy Fiddaman#define _hdr_malloc 1 /* #include <malloc.h> ok */ 12*906afcb8SAndy Fiddaman#define _hdr_stdlib 1 /* #include <stdlib.h> ok */ 13*906afcb8SAndy Fiddaman#define _hdr_unistd 1 /* #include <unistd.h> ok */ 14*906afcb8SAndy Fiddaman#define _mem_arena_mallinfo 1 /* arena is a member of struct mallinfo */ 15*906afcb8SAndy Fiddaman#define _sys_stat 1 /* #include <sys/stat.h> ok */ 16*906afcb8SAndy Fiddaman#define _hdr_time 1 /* #include <time.h> ok */ 17*906afcb8SAndy Fiddaman#define _sys_time 1 /* #include <sys/time.h> ok */ 18*906afcb8SAndy Fiddaman#define _sys_times 1 /* #include <sys/times.h> ok */ 19*906afcb8SAndy Fiddaman#define _hdr_stddef 1 /* #include <stddef.h> ok */ 20*906afcb8SAndy Fiddaman#define _typ_ssize_t 1 /* ssize_t is a type */ 21*906afcb8SAndy Fiddaman#define _mem_sbrk 1 /* brk()/sbrk() work as expected */ 22*906afcb8SAndy Fiddaman#define _lib_alloca 1 /* alloca exists */ 23*906afcb8SAndy Fiddaman#define _stk_down 1 /* stack grows downward */ 24*906afcb8SAndy Fiddaman#include "FEATURE/mmap" 25*906afcb8SAndy Fiddaman#if _BLD_INSTRUMENT || cray || _UWIN && _BLD_ast 26*906afcb8SAndy Fiddaman#undef _map_malloc 27*906afcb8SAndy Fiddaman#define _std_malloc 1 /* defer to standard malloc */ 28*906afcb8SAndy Fiddaman#endif 29*906afcb8SAndy Fiddaman#if _mmap_anon 30*906afcb8SAndy Fiddaman#define _mem_mmap_anon 1 31*906afcb8SAndy Fiddaman#endif 32*906afcb8SAndy Fiddaman#if _mmap_devzero 33*906afcb8SAndy Fiddaman#define _mem_mmap_zero 1 34*906afcb8SAndy Fiddaman#endif 35*906afcb8SAndy Fiddaman 36*906afcb8SAndy Fiddaman#endif 37