An "autoconf wrapper" for the infamous windows.h file
authorChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 20:51:22 +0000 (20:51 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 27 May 2004 20:51:22 +0000 (20:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13849 91177308-0d34-0410-b5e6-96231b3b80d8

include/Config/windows.h [new file with mode: 0644]
include/llvm/Config/windows.h [new file with mode: 0644]

diff --git a/include/Config/windows.h b/include/Config/windows.h
new file mode 100644 (file)
index 0000000..806a90a
--- /dev/null
@@ -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 (file)
index 0000000..806a90a
--- /dev/null
@@ -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