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> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits