xref: /titanic_51/usr/src/cmd/ast/libast/amd64/FEATURE/mmap (revision b4dd7d09880f14016feece03929a224eca1cf39a)
1/* : : generated from contrib/ast/src/lib/libast/features/mmap by iffe version 2012-07-17 : : */
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
11/* some systems get it wrong but escape concise detection */
12#ifndef _NO_MMAP
13#if __CYGWIN__
14#define _NO_MMAP	1
15#endif
16#endif
17
18#if _NO_MMAP
19#undef	_lib_mmap
20#undef	_lib_mmap64
21#undef	_mmap_anon
22#undef	_mmap_devzero
23#undef	_mmap_worthy
24#endif
25
26#endif
27