Remove these headers. The files that used to #include them don't any more
authorReid Spencer <rspencer@reidspencer.com>
Mon, 20 Dec 2004 04:20:37 +0000 (04:20 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 20 Dec 2004 04:20:37 +0000 (04:20 +0000)
as most system dependent behavior has been moved to lib/System.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19062 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Config/pagesize.h [deleted file]
include/llvm/Config/time.h [deleted file]
include/llvm/Config/windows.h [deleted file]

diff --git a/include/llvm/Config/pagesize.h b/include/llvm/Config/pagesize.h
deleted file mode 100644 (file)
index adbf878..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/* 
- *                     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 provides a platform-independent way of quering page size.
- */
-
-#ifndef PAGESIZE_H
-#define PAGESIZE_H
-
-#include "llvm/Config/unistd.h"
-#include <sys/param.h>
-
-namespace llvm {
-
-/* Compatibility chart:
- *
- * Linux/x86:        _SC_PAGESIZE, _SC_PAGE_SIZE
- * MacOS X/PowerPC:  v. 10.2: NBPG, 
- *                   v. 10.3: _SC_PAGESIZE
- * Solaris/Sparc:    _SC_PAGESIZE, _SC_PAGE_SIZE
- */
-
-/**
- * GetPageSize - wrapper to return page size in bytes for various 
- *  architecture/OS combinations
- */ 
-unsigned GetPageSize() {
-#ifdef _SC_PAGESIZE
-  return sysconf(_SC_PAGESIZE);
-#elif defined(_SC_PAGE_SIZE)
-  return sysconf(_SC_PAGE_SIZE);
-#elif defined(NBPG)
-#ifndef CLSIZE
-#define CLSIZE 1
-#endif
-  return NBPG * CLSIZE;
-#else
-  return 4096; /* allocate 4KB as a fall-back */
-#endif
-}
-
-}
-
-#endif
diff --git a/include/llvm/Config/time.h b/include/llvm/Config/time.h
deleted file mode 100644 (file)
index 6d66efa..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* 
- *                     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 is the autoconf replacement for time.h (if it lives
- *     on the system).
- *
- *     The added benefit of this header file is that it removes the
- *     "time with sys/time" problem.
- *
- *     According to the autoconf manual, some systems have a sys/time.h that
- *     includes time.h, but time.h is not written to handle multiple
- *     inclusion.  This means that a program including sys/time.h cannot
- *     also include time.h.
- *
- *     This header file fixes that problem.
- */
-
-#ifndef _CONFIG_TIME_H
-#define _CONFIG_TIME_H
-
-#include "llvm/Config/config.h"
-
-#ifdef HAVE_TIME_H
-#include <time.h>
-#endif
-
-#endif
diff --git a/include/llvm/Config/windows.h b/include/llvm/Config/windows.h
deleted file mode 100644 (file)
index ab44391..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/* 
- *                     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 is the autoconf replacement for windows.h (if it lives
- *     on the system).
- */
-
-#ifndef LLVM_CONFIG_WINDOWS_H
-#define LLVM_CONFIG_WINDOWS_H
-
-#include "llvm/Config/config.h"
-
-#ifdef HAVE_WINDOWS_H
-#include <windows.h>
-#undef min
-#undef max
-#endif
-
-#endif