14887Schin /*********************************************************************** 24887Schin * * 34887Schin * This software is part of the ast package * 4*12068SRoger.Faulkner@Oracle.COM * Copyright (c) 1985-2010 AT&T Intellectual Property * 54887Schin * and is licensed under the * 64887Schin * Common Public License, Version 1.0 * 78462SApril.Chin@Sun.COM * by AT&T Intellectual Property * 84887Schin * * 94887Schin * A copy of the License is available at * 104887Schin * http://www.opensource.org/licenses/cpl1.0.txt * 114887Schin * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 124887Schin * * 134887Schin * Information and Software Systems Research * 144887Schin * AT&T Research * 154887Schin * Florham Park NJ * 164887Schin * * 174887Schin * Glenn Fowler <gsf@research.att.com> * 184887Schin * David Korn <dgk@research.att.com> * 194887Schin * Phong Vo <kpv@research.att.com> * 204887Schin * * 214887Schin ***********************************************************************/ 22*12068SRoger.Faulkner@Oracle.COM /* : : generated from /home/gisburn/ksh93/ast_ksh_20100309/build_sparc_64bit/src/lib/libast/features/mmap by iffe version 2009-12-04 : : */ 234887Schin #ifndef _def_mmap_ast 244887Schin #define _def_mmap_ast 1 254887Schin #define _sys_types 1 /* #include <sys/types.h> ok */ 264887Schin #define _sys_mman 1 /* #include <sys/mman.h> ok */ 274887Schin #define _lib_mmap 1 /* standard mmap interface that works */ 284887Schin #define _lib_mmap64 1 /* mmap64 interface and implementation work */ 294887Schin #define _mmap_anon 1 /* use mmap MAP_ANON to get raw memory */ 304887Schin #define _mmap_devzero 1 /* use mmap on /dev/zero to get raw memory */ 3110898Sroland.mainz@nrubsig.org #define _mmap_worthy 2 /* mmap is good */ 324887Schin 334887Schin /* some systems get it wrong but escape concise detection */ 344887Schin #ifndef _NO_MMAP 354887Schin #if __CYGWIN__ 364887Schin #define _NO_MMAP 1 374887Schin #endif 384887Schin #endif 394887Schin 404887Schin #if _NO_MMAP 414887Schin #undef _lib_mmap 424887Schin #undef _lib_mmap64 434887Schin #undef _mmap_anon 444887Schin #undef _mmap_devzero 454887Schin #undef _mmap_worthy 464887Schin #endif 474887Schin 484887Schin #endif 49