af7affd9402f84f15ee0da06faa1d078732cff52
[oota-llvm.git] / include / Config / sys / mman.h
1 /*
2  * Header file: mman.h
3  *
4  * Description:
5  *      This header file includes the headers needed for the mmap() system/
6  *      function call.  It also defines some macros so that all of our calls
7  *      to mmap() can act (more or less) the same, regardless of platform.
8  */
9
10 #ifndef _CONFIG_MMAN_H
11 #define _CONFIG_MMAN_H
12
13 #include "Config/config.h"
14
15 #ifdef HAVE_SYS_MMAN_H
16 #include <sys/mman.h>
17 #endif
18
19 #ifndef HAVE_MMAP_ANONYMOUS
20 #define MAP_ANONYMOUS MAP_ANON
21 #endif
22
23 #endif
24