diff options
Diffstat (limited to 'include/Config')
-rw-r--r-- | include/Config/alloca.h | 47 | ||||
-rw-r--r-- | include/Config/config.h.in | 240 | ||||
-rw-r--r-- | include/Config/dlfcn.h | 23 | ||||
-rw-r--r-- | include/Config/fcntl.h | 23 | ||||
-rw-r--r-- | include/Config/limits.h | 23 | ||||
-rw-r--r-- | include/Config/malloc.h | 25 | ||||
-rw-r--r-- | include/Config/memory.h | 23 | ||||
-rw-r--r-- | include/Config/pagesize.h | 49 | ||||
-rw-r--r-- | include/Config/stdint.h | 23 | ||||
-rw-r--r-- | include/Config/sys/mman.h | 32 | ||||
-rw-r--r-- | include/Config/sys/resource.h | 34 | ||||
-rw-r--r-- | include/Config/sys/stat.h | 29 | ||||
-rw-r--r-- | include/Config/sys/time.h | 24 | ||||
-rw-r--r-- | include/Config/sys/types.h | 25 | ||||
-rw-r--r-- | include/Config/sys/wait.h | 24 | ||||
-rw-r--r-- | include/Config/time.h | 33 | ||||
-rw-r--r-- | include/Config/unistd.h | 28 | ||||
-rw-r--r-- | include/Config/windows.h | 25 |
18 files changed, 0 insertions, 730 deletions
diff --git a/include/Config/alloca.h b/include/Config/alloca.h deleted file mode 100644 index 297b56f..0000000 --- a/include/Config/alloca.h +++ /dev/null @@ -1,47 +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 includes the infamous alloc.h header file if the - * autoconf system has found it. It hides all of the autoconf details - * from the rest of the application source code. - */ - -#ifndef _CONFIG_ALLOC_H -#define _CONFIG_ALLOC_H - -#include "Config/config.h" - -/* - * This is a modified version of that suggested by the Autoconf manual. - * 1) The #pragma is indented so that pre-ANSI C compilers ignore it. - * 2) If alloca.h cannot be found, then try stdlib.h. Some platforms - * (notably FreeBSD) defined alloca() there. - */ -#ifdef _MSC_VER -/* noop on Visual C++ */ -#elif defined(HAVE_ALLOCA_H) -#include <alloca.h> -#elif !defined(__GNUC__) -# ifdef _AIX - # pragma alloca -# else -# ifndef alloca - char * alloca (); -# endif -# endif -#else -# ifdef HAVE_STDLIB_H -# include <stdlib.h> -# else -# error "The function alloca() is required but not found!" -# endif -#endif - -#endif - diff --git a/include/Config/config.h.in b/include/Config/config.h.in deleted file mode 100644 index fe0c77c..0000000 --- a/include/Config/config.h.in +++ /dev/null @@ -1,240 +0,0 @@ -/* include/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */ - -/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP - systems. This function is required for `alloca.c' support on those systems. - */ -#undef CRAY_STACKSEG_END - -/* Define to 1 if using `alloca.c'. */ -#undef C_ALLOCA - -/* Define to 1 if you have `alloca', as a function or macro. */ -#undef HAVE_ALLOCA - -/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). - */ -#undef HAVE_ALLOCA_H - -/* Define to 1 if you have the `backtrace' function. */ -#undef HAVE_BACKTRACE - -/* Define to 1 if you have the <dlfcn.h> header file. */ -#undef HAVE_DLFCN_H - -/* Define if dlopen() is available on this platform. */ -#undef HAVE_DLOPEN - -/* Define to 1 if you have the <execinfo.h> header file. */ -#undef HAVE_EXECINFO_H - -/* Define to 1 if you have the <fcntl.h> header file. */ -#undef HAVE_FCNTL_H - -/* Define to 1 if your compiler defines finite in the <ieeefp.h> header file. - */ -#undef HAVE_FINITE_IN_IEEEFP_H - -/* Define to 1 if you have the `getcwd' function. */ -#undef HAVE_GETCWD - -/* Define to 1 if you have the `getpagesize' function. */ -#undef HAVE_GETPAGESIZE - -/* Define to 1 if you have the `getrusage' function. */ -#undef HAVE_GETRUSAGE - -/* Define to 1 if you have the `gettimeofday' function. */ -#undef HAVE_GETTIMEOFDAY - -/* Define to 1 if the system has the type `int64_t'. */ -#undef HAVE_INT64_T - -/* Define to 1 if you have the <inttypes.h> header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the `isatty' function. */ -#undef HAVE_ISATTY - -/* Define to 1 if your compiler defines isinf in the <cmath> header file. */ -#undef HAVE_ISINF_IN_CMATH - -/* Define to 1 if your compiler defines isinf in the <math.h> header file. */ -#undef HAVE_ISINF_IN_MATH_H - -/* Define to 1 if your compiler defines isnan in the <cmath> header file. */ -#undef HAVE_ISNAN_IN_CMATH - -/* Define to 1 if your compiler defines isnan in the <math.h> header file. */ -#undef HAVE_ISNAN_IN_MATH_H - -/* Define to 1 if you have the `elf' library (-lelf). */ -#undef HAVE_LIBELF - -/* Define to 1 if you have the <limits.h> header file. */ -#undef HAVE_LIMITS_H - -/* Define to 1 if you have the <link.h> header file. */ -#undef HAVE_LINK_H - -/* Define if you can use -Wl,-R. to pass -R. to the linker, in order to add - the current directory to the dynamic linker search path. */ -#undef HAVE_LINK_R - -/* Define if mallinfo() is available on this platform. */ -#undef HAVE_MALLINFO - -/* Define to 1 if you have the <malloc.h> header file. */ -#undef HAVE_MALLOC_H - -/* Define to 1 if you have the <memory.h> header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the `mkstemp' function. */ -#undef HAVE_MKSTEMP - -/* Define to 1 if you have a working `mmap' system call. */ -#undef HAVE_MMAP - -/* Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, or undefine if - it uses MAP_ANON */ -#undef HAVE_MMAP_ANONYMOUS - -/* Define if mmap() can map files into memory */ -#undef HAVE_MMAP_FILE - -/* define if the compiler implements namespaces */ -#undef HAVE_NAMESPACES - -/* Define to have the %a format string */ -#undef HAVE_PRINTF_A - -/* Define to 1 if you have the <stdint.h> header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the <stdlib.h> header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if your compiler defines std::isinf in the <cmath> header file. - */ -#undef HAVE_STD_ISINF_IN_CMATH - -/* Define to 1 if your compiler defines std::isnan in the <cmath> header file. - */ -#undef HAVE_STD_ISNAN_IN_CMATH - -/* Define to 1 if you have the `strdup' function. */ -#undef HAVE_STRDUP - -/* Define to 1 if you have the <strings.h> header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the <string.h> header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the `strtoll' function. */ -#undef HAVE_STRTOLL - -/* Define to 1 if you have the `strtoq' function. */ -#undef HAVE_STRTOQ - -/* Define to 1 if you have the <sys/mman.h> header file. */ -#undef HAVE_SYS_MMAN_H - -/* Define to 1 if you have the <sys/resource.h> header file. */ -#undef HAVE_SYS_RESOURCE_H - -/* Define to 1 if you have the <sys/stat.h> header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the <sys/time.h> header file. */ -#undef HAVE_SYS_TIME_H - -/* Define to 1 if you have the <sys/types.h> header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */ -#undef HAVE_SYS_WAIT_H - -/* Define to 1 if the system has the type `uint64_t'. */ -#undef HAVE_UINT64_T - -/* Define to 1 if you have the <unistd.h> header file. */ -#undef HAVE_UNISTD_H - -/* Define to 1 if you have the <windows.h> header file. */ -#undef HAVE_WINDOWS_H - -/* Installation directory for binary executables */ -#undef LLVM_BINDIR - -/* Time at which LLVM was configured */ -#undef LLVM_CONFIGTIME - -/* Installation directory for documentation */ -#undef LLVM_DATADIR - -/* Installation directory for config files */ -#undef LLVM_ETCDIR - -/* Installation directory for include files */ -#undef LLVM_INCLUDEDIR - -/* Installation directory for .info files */ -#undef LLVM_INFODIR - -/* Installation directory for libraries */ -#undef LLVM_LIBDIR - -/* Installation directory for man pages */ -#undef LLVM_MANDIR - -/* Installation prefix directory */ -#undef LLVM_PREFIX - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define as the return type of signal handlers (`int' or `void'). */ -#undef RETSIGTYPE - -/* Extension that shared libraries have, e.g., ".so". */ -#undef SHLIBEXT - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown */ -#undef STACK_DIRECTION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ -#undef TIME_WITH_SYS_TIME - -/* Define to 1 if your <sys/time.h> declares `struct tm'. */ -#undef TM_IN_SYS_TIME - -/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a - `char[]'. */ -#undef YYTEXT_POINTER - -/* Define to `int' if <sys/types.h> does not define. */ -#undef pid_t - -/* Define to `unsigned' if <sys/types.h> does not define. */ -#undef size_t diff --git a/include/Config/dlfcn.h b/include/Config/dlfcn.h deleted file mode 100644 index c7ce5b1..0000000 --- a/include/Config/dlfcn.h +++ /dev/null @@ -1,23 +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 dlfcn.h (if it lives - * on the system). - */ - -#ifndef _CONFIG_DLFCN_H -#define _CONFIG_DLFCN_H - -#include "Config/config.h" - -#ifdef HAVE_DLFCN_H -#include <dlfcn.h> -#endif - -#endif diff --git a/include/Config/fcntl.h b/include/Config/fcntl.h deleted file mode 100644 index ed8a1c8..0000000 --- a/include/Config/fcntl.h +++ /dev/null @@ -1,23 +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 fcntl.h (if it lives - * on the system). - */ - -#ifndef _CONFIG_FCNTL_H -#define _CONFIG_FCNTL_H - -#include "Config/config.h" - -#ifdef HAVE_FCNTL_H -#include <fcntl.h> -#endif - -#endif diff --git a/include/Config/limits.h b/include/Config/limits.h deleted file mode 100644 index e5a787e..0000000 --- a/include/Config/limits.h +++ /dev/null @@ -1,23 +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 limits.h (if it lives - * on the system). - */ - -#ifndef _CONFIG_LIMITS_H -#define _CONFIG_LIMITS_H - -#include "Config/config.h" - -#ifdef HAVE_LIMITS_H -#include <limits.h> -#endif - -#endif diff --git a/include/Config/malloc.h b/include/Config/malloc.h deleted file mode 100644 index c78408a..0000000 --- a/include/Config/malloc.h +++ /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 includes the infamous malloc.h header file if the - * autoconf system has found it. It hides all of the autoconf details - * from the rest of the application source code. - */ - -#ifndef _SUPPORT_MALLOC_H -#define _SUPPORT_MALLOC_H - -#include "Config/config.h" - -#ifdef HAVE_MALLOC_H -#include <malloc.h> -#endif - -#endif - diff --git a/include/Config/memory.h b/include/Config/memory.h deleted file mode 100644 index f75902b..0000000 --- a/include/Config/memory.h +++ /dev/null @@ -1,23 +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 memory.h (if it lives - * on the system). - */ - -#ifndef _CONFIG_MEMORY_H -#define _CONFIG_MEMORY_H - -#include "Config/config.h" - -#ifdef HAVE_MEMORY_H -#include <memory.h> -#endif - -#endif diff --git a/include/Config/pagesize.h b/include/Config/pagesize.h deleted file mode 100644 index f37b297..0000000 --- a/include/Config/pagesize.h +++ /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 "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/Config/stdint.h b/include/Config/stdint.h deleted file mode 100644 index a989610..0000000 --- a/include/Config/stdint.h +++ /dev/null @@ -1,23 +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 stdint.h (if it lives - * on the system). - */ - -#ifndef _CONFIG_STDINT_H -#define _CONFIG_STDINT_H - -#include "Config/config.h" - -#ifdef HAVE_STDINT_H -#include <stdint.h> -#endif - -#endif diff --git a/include/Config/sys/mman.h b/include/Config/sys/mman.h deleted file mode 100644 index 7f51e7f..0000000 --- a/include/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 "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/include/Config/sys/resource.h b/include/Config/sys/resource.h deleted file mode 100644 index 1f4cc69..0000000 --- a/include/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 "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 "Config/sys/time.h" -#include <sys/resource.h> -#include "Config/unistd.h" - -#endif - -#endif diff --git a/include/Config/sys/stat.h b/include/Config/sys/stat.h deleted file mode 100644 index 9669bcf..0000000 --- a/include/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 "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/include/Config/sys/time.h b/include/Config/sys/time.h deleted file mode 100644 index 3e0ea1e..0000000 --- a/include/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 "Config/config.h" - -#if defined(HAVE_SYS_TIME_H) && !defined(_MSC_VER) -#include <sys/time.h> -#endif - -#endif diff --git a/include/Config/sys/types.h b/include/Config/sys/types.h deleted file mode 100644 index f0a7abe..0000000 --- a/include/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 "Config/config.h" - -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif - -#endif - diff --git a/include/Config/sys/wait.h b/include/Config/sys/wait.h deleted file mode 100644 index b3db60e..0000000 --- a/include/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 "Config/config.h" - -#ifdef HAVE_SYS_WAIT_H -#include <sys/wait.h> -#endif - -#endif - diff --git a/include/Config/time.h b/include/Config/time.h deleted file mode 100644 index b2f3e6e..0000000 --- a/include/Config/time.h +++ /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 "Config/config.h" - -#ifdef HAVE_TIME_H -#include <time.h> -#endif - -#endif diff --git a/include/Config/unistd.h b/include/Config/unistd.h deleted file mode 100644 index 847db7a..0000000 --- a/include/Config/unistd.h +++ /dev/null @@ -1,28 +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 unistd.h (if it lives - * on the system). - */ - -#ifndef _CONFIG_UNISTD_H -#define _CONFIG_UNISTD_H - -#include "Config/config.h" - -#if defined(HAVE_UNISTD_H) && !defined(_MSC_VER) -#include <unistd.h> -#endif - -#ifdef _WIN32 -#include <process.h> -#include <io.h> -#endif - -#endif diff --git a/include/Config/windows.h b/include/Config/windows.h deleted file mode 100644 index fded99f..0000000 --- a/include/Config/windows.h +++ /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 "Config/config.h" - -#ifdef HAVE_WINDOWS_H -#include <windows.h> -#undef min -#undef max -#endif - -#endif |