From f0f3c06a90de9cb4687e40014975ecebb6bc6ecc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 27 May 2004 20:51:22 +0000 Subject: [PATCH] An "autoconf wrapper" for the infamous windows.h file git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13849 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Config/windows.h | 23 +++++++++++++++++++++++ include/llvm/Config/windows.h | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 include/Config/windows.h create mode 100644 include/llvm/Config/windows.h diff --git a/include/Config/windows.h b/include/Config/windows.h new file mode 100644 index 00000000000..806a90ad240 --- /dev/null +++ b/include/Config/windows.h @@ -0,0 +1,23 @@ +/* + * 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 _CONFIG_DLFCN_H +#define _CONFIG_DLFCN_H + +#include "Config/config.h" + +#ifdef HAVE_WINDOWS_H +#include +#endif + +#endif diff --git a/include/llvm/Config/windows.h b/include/llvm/Config/windows.h new file mode 100644 index 00000000000..806a90ad240 --- /dev/null +++ b/include/llvm/Config/windows.h @@ -0,0 +1,23 @@ +/* + * 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 _CONFIG_DLFCN_H +#define _CONFIG_DLFCN_H + +#include "Config/config.h" + +#ifdef HAVE_WINDOWS_H +#include +#endif + +#endif