summaryrefslogtreecommitdiff
path: root/include/llvm/Config/config.h.in
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-08-08 09:18:29 +0000
committerEric Christopher <echristo@apple.com>2010-08-08 09:18:29 +0000
commitd442d2846a00c0ac2f031deba06b7e0d003f14ad (patch)
treefacf6bedd7e43111c2548fb25bb0a421c97e2f3f /include/llvm/Config/config.h.in
parentb1e4eebec03f71f3c891ba384b5992f3d65e3591 (diff)
downloadllvm-d442d2846a00c0ac2f031deba06b7e0d003f14ad.tar.gz
llvm-d442d2846a00c0ac2f031deba06b7e0d003f14ad.tar.bz2
llvm-d442d2846a00c0ac2f031deba06b7e0d003f14ad.tar.xz
Add a bit of a hack to avoid multiple defines of variables in
config.h and llvm-config.h. This could probably be improved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config/config.h.in')
-rw-r--r--include/llvm/Config/config.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 9a10f7f06c..5fe3da2570 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -1,5 +1,8 @@
/* include/llvm/Config/config.h.in. Generated from autoconf/configure.ac by autoheader. */
+#ifndef CONFIG_H
+#define CONFIG_H
+
/* 32 bit multilib directory. */
#undef CXX_INCLUDE_32BIT_DIR
@@ -607,3 +610,5 @@
/* Define to `unsigned int' if <sys/types.h> does not define. */
#undef size_t
+
+#endif