llvm.org GIT mirror llvm / 9a55e85
For PR351: This file is no longer needed as system dependent functions have been encapsulated into lib/System. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19049 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 15 years ago
6 changed file(s) with 0 addition(s) and 168 deletion(s). Raw diff Collapse all Expand all
+0
-32
include/llvm/Config/sys/mman.h less more
None /*===-- Config/sys/mman.h - Autoconf sys/mman.h wrapper -----------*- C -*-===//
1 *
2 * The LLVM Compiler Infrastructure
3 *
4 * This file was developed by the LLVM research group and is distributed under
5 * the University of Illinois Open Source License. See LICENSE.TXT for details.
6 *
7 *===----------------------------------------------------------------------===//
8 *
9 * Description:
10 * This header file includes the headers needed for the mmap() system/
11 * function call. It also defines some macros so that all of our calls
12 * to mmap() can act (more or less) the same, regardless of platform.
13 *
14 *===----------------------------------------------------------------------===//
15 */
16
17 #ifndef _CONFIG_MMAN_H
18 #define _CONFIG_MMAN_H
19
20 #include "llvm/Config/config.h"
21
22 #if defined(HAVE_SYS_MMAN_H) && !defined(_MSC_VER)
23 #include
24 #endif
25
26 #ifndef HAVE_MMAP_ANONYMOUS
27 #define MAP_ANONYMOUS MAP_ANON
28 #endif
29
30 #endif
31
+0
-34
include/llvm/Config/sys/resource.h less more
None /*===-- Config/sys/resource.h -----------------------------------*- C++ -*-===//
1 *
2 * The LLVM Compiler Infrastructure
3 *
4 * This file was developed by the LLVM research group and is distributed under
5 * the University of Illinois Open Source License. See LICENSE.TXT for details.
6 *
7 *===----------------------------------------------------------------------===//
8 *
9 * This header file is the autoconf replacement for sys/resource.h (if it
10 * lives on the system).
11 *
12 *===----------------------------------------------------------------------===//
13 */
14
15 #ifndef _CONFIG_SYS_RESOURCE_H
16 #define _CONFIG_SYS_RESOURCE_H
17
18 #include "llvm/Config/config.h"
19
20 #if defined(HAVE_SYS_RESOURCE_H) && !defined(_MSC_VER)
21
22 /*
23 * In LLVM, we use sys/resource.h to use getrusage() and maybe some other
24 * stuff. Some man pages say that you also need sys/time.h and unistd.h.
25 * So, to be paranoid, we will try to include all three if possible.
26 */
27 #include "llvm/Config/sys/time.h"
28 #include
29 #include "llvm/Config/unistd.h"
30
31 #endif
32
33 #endif
+0
-29
include/llvm/Config/sys/stat.h less more
None /*===-- Config/sys/stat.h -----------------------------------*- ----C++ -*-===//
1 *
2 * The LLVM Compiler Infrastructure
3 *
4 * This file was developed by the LLVM research group and is distributed under
5 * the University of Illinois Open Source License. See LICENSE.TXT for details.
6 *
7 *===----------------------------------------------------------------------===//
8 * This header file includes the headers needed for the stat() system
9 * call.
10 *
11 *===----------------------------------------------------------------------===//
12 */
13
14 #ifndef _CONFIG_SYS_STAT_H
15 #define _CONFIG_SYS_STAT_H
16
17 #include "llvm/Config/config.h"
18
19 #ifdef HAVE_SYS_STAT_H
20 #include
21 #endif
22
23 #if defined(_MSC_VER)
24 #define S_ISREG(X) ((X) & _S_IFREG)
25 #endif
26
27 #endif
28
+0
-24
include/llvm/Config/sys/time.h less more
None /*===-- Config/sys/time.h ---------------------------------------*- C++ -*-===//
1 *
2 * The LLVM Compiler Infrastructure
3 *
4 * This file was developed by the LLVM research group and is distributed under
5 * the University of Illinois Open Source License. See LICENSE.TXT for details.
6 *
7 *===----------------------------------------------------------------------===//
8 * This header file is the autoconf replacement for sys/time.h (if it
9 * lives on the system).
10 *
11 *===----------------------------------------------------------------------===//
12 */
13
14 #ifndef _CONFIG_SYS_TIME_H
15 #define _CONFIG_SYS_TIME_H
16
17 #include "llvm/Config/config.h"
18
19 #if defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER)
20 #include
21 #endif
22
23 #endif
+0
-25
include/llvm/Config/sys/types.h less more
None /*===-- Config/sys/types.h --------------------------------------*- C++ -*-===//
1 *
2 * The LLVM Compiler Infrastructure
3 *
4 * This file was developed by the LLVM research group and is distributed under
5 * the University of Illinois Open Source License. See LICENSE.TXT for details.
6 *
7 *===----------------------------------------------------------------------===//
8 * This header file is the autoconf substitute for sys/types.h. It
9 * includes it for us if it exists on this system.
10 *
11 *===----------------------------------------------------------------------===//
12 */
13
14 #ifndef _CONFIG_SYS_TYPES_H
15 #define _CONFIG_SYS_TYPES_H
16
17 #include "llvm/Config/config.h"
18
19 #ifdef HAVE_SYS_TYPES_H
20 #include
21 #endif
22
23 #endif
24
+0
-24
include/llvm/Config/sys/wait.h less more
None /*===-- Config/sys/wait.h ---------------------------------------*- C++ -*-===//
1 *
2 * The LLVM Compiler Infrastructure
3 *
4 * This file was developed by the LLVM research group and is distributed under
5 * the University of Illinois Open Source License. See LICENSE.TXT for details.
6 *
7 *===----------------------------------------------------------------------===//
8 * This header file includes the headers needed for the wait() system
9 * call.
10 *===----------------------------------------------------------------------===//
11 */
12
13 #ifndef _CONFIG_SYS_WAIT_H
14 #define _CONFIG_SYS_WAIT_H
15
16 #include "llvm/Config/config.h"
17
18 #ifdef HAVE_SYS_WAIT_H
19 #include
20 #endif
21
22 #endif
23