[llvm-commits] [123743] Avoid including GCC's system headers.
dpatel at apple.com
dpatel at apple.com
Mon Feb 12 10:01:32 PST 2007
Revision: 123743
Author: dpatel
Date: 2007-02-12 10:01:31 -0800 (Mon, 12 Feb 2007)
Log Message:
-----------
Avoid including GCC's system headers. They poison stuff
like malloc that we use in LLVM subsystem.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/llvm-debug.h
Modified: apple-local/branches/llvm/gcc/llvm-debug.h
===================================================================
--- apple-local/branches/llvm/gcc/llvm-debug.h 2007-02-12 17:41:51 UTC (rev 123742)
+++ apple-local/branches/llvm/gcc/llvm-debug.h 2007-02-12 18:01:31 UTC (rev 123743)
@@ -31,10 +31,7 @@
#include "llvm/CodeGen/MachineModuleInfo.h"
extern "C" {
-#include "config.h"
-#include "system.h"
-#include "coretypes.h"
-union tree_node;
+#include "llvm.h"
}
#include <string>
More information about the llvm-commits
mailing list