summaryrefslogtreecommitdiffstats
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
commit94aac779e1f435503ef9c11c67b755c65d90b856 (patch)
treeaf48624d6ede909db7b43ec3429521811d2ff6d4
parentd2eca3d441e704930c6532cfd11f71c803d7555b (diff)
downloadbcm5719-llvm-94aac779e1f435503ef9c11c67b755c65d90b856.tar.gz
bcm5719-llvm-94aac779e1f435503ef9c11c67b755c65d90b856.zip
An "autoconf wrapper" for the infamous windows.h file
llvm-svn: 13849
-rw-r--r--llvm/include/Config/windows.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/llvm/include/Config/windows.h b/llvm/include/Config/windows.h
new file mode 100644
index 00000000000..806a90ad240
--- /dev/null
+++ b/llvm/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
OpenPOWER on IntegriCloud