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