1/* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_32bit/src/lib/libast/features/mmap by iffe version 2009-12-04 : : */ 2#ifndef _def_mmap_ast 3#define _def_mmap_ast 1 4#define _sys_types 1 /* #include <sys/types.h> ok */ 5#define _sys_mman 1 /* #include <sys/mman.h> ok */ 6#define _lib_mmap 1 /* standard mmap interface that works */ 7#define _lib_mmap64 1 /* mmap64 interface and implementation work */ 8#define _mmap_anon 1 /* use mmap MAP_ANON to get raw memory */ 9#define _mmap_devzero 1 /* use mmap on /dev/zero to get raw memory */ 10#define _mmap_worthy 2 /* mmap is good */ 11 12/* some systems get it wrong but escape concise detection */ 13#ifndef _NO_MMAP 14#if __CYGWIN__ 15#define _NO_MMAP 1 16#endif 17#endif 18 19#if _NO_MMAP 20#undef _lib_mmap 21#undef _lib_mmap64 22#undef _mmap_anon 23#undef _mmap_devzero 24#undef _mmap_worthy 25#endif 26 27#endif 28