/* * BEGIN illumos section * This is an unstable interface; changes may be made * without notice. * END illumos section */ /*********************************************************************** * * * This software is part of the ast package * * Copyright (c) 1985-2023 AT&T Intellectual Property * * All Rights Reserved * * This software is licensed by AT&T Intellectual Property * * under the terms and conditions of the license in * * http://www.eclipse.org/org/documents/epl-v10.html * * (with an md5 checksum of b35adb5213ca9657e911e9befb180842) * * * * Information and Software Systems Research * * AT&T Research * * Florham Park NJ * * * * Glenn Fowler * * David Korn * * Phong Vo * * * ***********************************************************************/ /* : : generated from contrib/ast/src/lib/libast/features/mmap by iffe version 2012-07-17 : : */ #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 _lib_mmap64 1 /* mmap64 interface and implementation work */ #define _mmap_anon 1 /* use mmap MAP_ANON to get raw memory */ #define _mmap_devzero 1 /* use mmap on /dev/zero to get raw memory */ /* 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