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
diff --git a/include/Config/windows.h b/include/Config/windows.h
new file mode 100644
index 0000000..806a90a
--- /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 <windows.h>
+#endif
+
+#endif
diff --git a/include/llvm/Config/windows.h b/include/llvm/Config/windows.h
new file mode 100644
index 0000000..806a90a
--- /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 <windows.h>
+#endif
+
+#endif