[llvm-commits] [dragonegg] r92721 - /dragonegg/trunk/llvm-abi.h

Duncan Sands baldrick at free.fr
Tue Jan 5 00:42:04 PST 2010


Author: baldrick
Date: Tue Jan  5 02:42:04 2010
New Revision: 92721

URL: http://llvm.org/viewvc/llvm-project?rev=92721&view=rev
Log:
Port commit 92238 (lattner) from llvm-gcc:
'fix' buildbot breakage by #including Compiler.h back where we
used to implicitly get it before I pruned #includes.  Not doing
this runs into problems on some builders because we define
ATTRIBUTE_UNUSED and so does GCC.  Our macro isn't wrapped with
#ifndef and theirs is, so we have to get ours first, yay for
fragility.

Modified:
    dragonegg/trunk/llvm-abi.h

Modified: dragonegg/trunk/llvm-abi.h
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-abi.h?rev=92721&r1=92720&r2=92721&view=diff

==============================================================================
--- dragonegg/trunk/llvm-abi.h (original)
+++ dragonegg/trunk/llvm-abi.h Tue Jan  5 02:42:04 2010
@@ -35,6 +35,7 @@
 #include "llvm/DerivedTypes.h"
 #include "llvm/LLVMContext.h"
 #include "llvm/Target/TargetData.h"
+#include "llvm/Support/Compiler.h"
 
 // System headers
 #include <gmp.h>





More information about the llvm-commits mailing list