diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-20 00:58:25 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-20 00:58:25 +0000 |
| commit | d816f9e93509b2e39a4f0a03287742319e060afc (patch) | |
| tree | b9873f1bccc0f0a767fbfb01055cda3aa8688766 | |
| parent | f06cb1db249d02ffb15cb481e0ecf97b5bcdee02 (diff) | |
| download | bcm5719-llvm-d816f9e93509b2e39a4f0a03287742319e060afc.tar.gz bcm5719-llvm-d816f9e93509b2e39a4f0a03287742319e060afc.zip | |
For PR351:
This file is no longer needed as system dependent functions have been
encapsulated into lib/System.
llvm-svn: 19049
| -rw-r--r-- | llvm/include/llvm/Config/sys/mman.h | 32 | ||||
| -rw-r--r-- | llvm/include/llvm/Config/sys/resource.h | 34 | ||||
| -rw-r--r-- | llvm/include/llvm/Config/sys/stat.h | 29 | ||||
| -rw-r--r-- | llvm/include/llvm/Config/sys/time.h | 24 | ||||
| -rw-r--r-- | llvm/include/llvm/Config/sys/types.h | 25 | ||||
| -rw-r--r-- | llvm/include/llvm/Config/sys/wait.h | 24 |
6 files changed, 0 insertions, 168 deletions
diff --git a/llvm/include/llvm/Config/sys/mman.h b/llvm/include/llvm/Config/sys/mman.h deleted file mode 100644 index 92f394989af..00000000000 --- a/llvm/include/llvm/Config/sys/mman.h +++ /dev/null @@ -1,32 +0,0 @@ -/*===-- Config/sys/mman.h - Autoconf sys/mman.h wrapper -----------*- C -*-===// - * - * The LLVM Compiler Infrastructure - * - * This file was developed by the LLVM research group and is distributed under - * the University of Illinois Open Source License. See LICENSE.TXT for details. - * - *===----------------------------------------------------------------------===// - * - * Description: - * This header file includes the headers needed for the mmap() system/ - * function call. It also defines some macros so that all of our calls - * to mmap() can act (more or less) the same, regardless of platform. - * - *===----------------------------------------------------------------------===// - */ - -#ifndef _CONFIG_MMAN_H -#define _CONFIG_MMAN_H - -#include "llvm/Config/config.h" - -#if defined(HAVE_SYS_MMAN_H) && !defined(_MSC_VER) -#include <sys/mman.h> -#endif - -#ifndef HAVE_MMAP_ANONYMOUS -#define MAP_ANONYMOUS MAP_ANON -#endif - -#endif - diff --git a/llvm/include/llvm/Config/sys/resource.h b/llvm/include/llvm/Config/sys/resource.h deleted file mode 100644 index 11cb7709ca4..00000000000 --- a/llvm/include/llvm/Config/sys/resource.h +++ /dev/null @@ -1,34 +0,0 @@ -/*===-- Config/sys/resource.h -----------------------------------*- C++ -*-===// - * - * The LLVM Compiler Infrastructure - * - * This file was developed by the LLVM research group and is distributed under - * the University of Illinois Open Source License. See LICENSE.TXT for details. - * - *===----------------------------------------------------------------------===// - * - * This header file is the autoconf replacement for sys/resource.h (if it - * lives on the system). - * - *===----------------------------------------------------------------------===// - */ - -#ifndef _CONFIG_SYS_RESOURCE_H -#define _CONFIG_SYS_RESOURCE_H - -#include "llvm/Config/config.h" - -#if defined(HAVE_SYS_RESOURCE_H) && !defined(_MSC_VER) - -/* - * In LLVM, we use sys/resource.h to use getrusage() and maybe some other - * stuff. Some man pages say that you also need sys/time.h and unistd.h. - * So, to be paranoid, we will try to include all three if possible. - */ -#include "llvm/Config/sys/time.h" -#include <sys/resource.h> -#include "llvm/Config/unistd.h" - -#endif - -#endif diff --git a/llvm/include/llvm/Config/sys/stat.h b/llvm/include/llvm/Config/sys/stat.h deleted file mode 100644 index 98b7f72e0a4..00000000000 --- a/llvm/include/llvm/Config/sys/stat.h +++ /dev/null @@ -1,29 +0,0 @@ -/*===-- Config/sys/stat.h -----------------------------------*- ----C++ -*-===// - * - * The LLVM Compiler Infrastructure - * - * This file was developed by the LLVM research group and is distributed under - * the University of Illinois Open Source License. See LICENSE.TXT for details. - * - *===----------------------------------------------------------------------===// - * This header file includes the headers needed for the stat() system - * call. - * - *===----------------------------------------------------------------------===// - */ - -#ifndef _CONFIG_SYS_STAT_H -#define _CONFIG_SYS_STAT_H - -#include "llvm/Config/config.h" - -#ifdef HAVE_SYS_STAT_H -#include <sys/stat.h> -#endif - -#if defined(_MSC_VER) -#define S_ISREG(X) ((X) & _S_IFREG) -#endif - -#endif - diff --git a/llvm/include/llvm/Config/sys/time.h b/llvm/include/llvm/Config/sys/time.h deleted file mode 100644 index f5ca3961f25..00000000000 --- a/llvm/include/llvm/Config/sys/time.h +++ /dev/null @@ -1,24 +0,0 @@ -/*===-- Config/sys/time.h ---------------------------------------*- C++ -*-===// - * - * The LLVM Compiler Infrastructure - * - * This file was developed by the LLVM research group and is distributed under - * the University of Illinois Open Source License. See LICENSE.TXT for details. - * - *===----------------------------------------------------------------------===// - * This header file is the autoconf replacement for sys/time.h (if it - * lives on the system). - * - *===----------------------------------------------------------------------===// - */ - -#ifndef _CONFIG_SYS_TIME_H -#define _CONFIG_SYS_TIME_H - -#include "llvm/Config/config.h" - -#if defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER) -#include <sys/time.h> -#endif - -#endif diff --git a/llvm/include/llvm/Config/sys/types.h b/llvm/include/llvm/Config/sys/types.h deleted file mode 100644 index fd6becd38f0..00000000000 --- a/llvm/include/llvm/Config/sys/types.h +++ /dev/null @@ -1,25 +0,0 @@ -/*===-- Config/sys/types.h --------------------------------------*- C++ -*-===// - * - * The LLVM Compiler Infrastructure - * - * This file was developed by the LLVM research group and is distributed under - * the University of Illinois Open Source License. See LICENSE.TXT for details. - * - *===----------------------------------------------------------------------===// - * This header file is the autoconf substitute for sys/types.h. It - * includes it for us if it exists on this system. - * - *===----------------------------------------------------------------------===// - */ - -#ifndef _CONFIG_SYS_TYPES_H -#define _CONFIG_SYS_TYPES_H - -#include "llvm/Config/config.h" - -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif - -#endif - diff --git a/llvm/include/llvm/Config/sys/wait.h b/llvm/include/llvm/Config/sys/wait.h deleted file mode 100644 index a1c70fbc6c4..00000000000 --- a/llvm/include/llvm/Config/sys/wait.h +++ /dev/null @@ -1,24 +0,0 @@ -/*===-- Config/sys/wait.h ---------------------------------------*- C++ -*-===// - * - * The LLVM Compiler Infrastructure - * - * This file was developed by the LLVM research group and is distributed under - * the University of Illinois Open Source License. See LICENSE.TXT for details. - * - *===----------------------------------------------------------------------===// - * This header file includes the headers needed for the wait() system - * call. - *===----------------------------------------------------------------------===// - */ - -#ifndef _CONFIG_SYS_WAIT_H -#define _CONFIG_SYS_WAIT_H - -#include "llvm/Config/config.h" - -#ifdef HAVE_SYS_WAIT_H -#include <sys/wait.h> -#endif - -#endif - |

