aboutsummaryrefslogtreecommitdiff
path: root/include/Config
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-27 20:51:22 +0000
committerChris Lattner <sabre@nondot.org>2004-05-27 20:51:22 +0000
commitf0f3c06a90de9cb4687e40014975ecebb6bc6ecc (patch)
tree2c74cb00f543fa947a6438d2f164fe53df0ec742 /include/Config
parent7dde37df5567814383ab2da4f5cefd6d3bf0ecca (diff)
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
Diffstat (limited to 'include/Config')
-rw-r--r--include/Config/windows.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/Config/windows.h b/include/Config/windows.h
new file mode 100644
index 0000000000..806a90ad24
--- /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