/*********************************************************************** * * * This software is part of the ast package * * Copyright (c) 1985-2008 AT&T Knowledge Ventures * * and is licensed under the * * Common Public License, Version 1.0 * * by AT&T Knowledge Ventures * * * * A copy of the License is available at * * http://www.opensource.org/licenses/cpl1.0.txt * * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * * * * Information and Software Systems Research * * AT&T Research * * Florham Park NJ * * * * Glenn Fowler * * David Korn * * Phong Vo * * * ***********************************************************************/ /* : : generated from /mnt/gmirror/ports/shells/ksh93/work/src/lib/libast/features/mmap by iffe version 2007-04-04 : : */ #ifndef _def_mmap_ast #define _def_mmap_ast 1 #define _sys_types 1 /* #include ok */ #define _sys_mman 1 /* #include ok */ #define _lib_mmap 1 /* standard mmap interface that works */ #define _mmap_anon 1 /* use mmap MAP_ANON to get raw memory */ #define _mmap_worthy 1 /* mmap is good */ /* some systems get it wrong but escape concise detection */ #ifndef _NO_MMAP #if __CYGWIN__ #define _NO_MMAP 1 #endif #endif #if _NO_MMAP #undef _lib_mmap #undef _lib_mmap64 #undef _mmap_anon #undef _mmap_devzero #undef _mmap_worthy #endif #endif