use llvm-config.h in public header
authorDylan Noblesmith <nobled@dreamwidth.org>
Mon, 28 Nov 2011 00:49:01 +0000 (00:49 +0000)
committerDylan Noblesmith <nobled@dreamwidth.org>
Mon, 28 Nov 2011 00:49:01 +0000 (00:49 +0000)
The config.h file's macros collide with other projects that include
LLVM and shouldn't get exported.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145215 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Valgrind.h

index e091eb7edc6593f1055a1c974a6701c32293e229..e14764703932bfd72f9e9a16170d0fd050e5b08b 100644 (file)
@@ -17,7 +17,7 @@
 #define LLVM_SYSTEM_VALGRIND_H
 
 #include "llvm/Support/Compiler.h"
-#include "llvm/Config/config.h"
+#include "llvm/Config/llvm-config.h"
 #include <stddef.h>
 
 #if LLVM_ENABLE_THREADS != 0 && !defined(NDEBUG)