1 /*===-- Config/sys/mman.h - Autoconf sys/mman.h wrapper -----------*- C -*-===//
3 * The LLVM Compiler Infrastructure
5 * This file was developed by the LLVM research group and is distributed under
6 * the University of Illinois Open Source License. See LICENSE.TXT for details.
8 *===----------------------------------------------------------------------===//
11 * This header file includes the headers needed for the mmap() system/
12 * function call. It also defines some macros so that all of our calls
13 * to mmap() can act (more or less) the same, regardless of platform.
15 *===----------------------------------------------------------------------===//
18 #ifndef _CONFIG_MMAN_H
19 #define _CONFIG_MMAN_H
21 #include "Config/config.h"
23 #if defined(HAVE_SYS_MMAN_H) && !defined(_MSC_VER)
27 #ifndef HAVE_MMAP_ANONYMOUS
28 #define MAP_ANONYMOUS MAP_ANON