Skip to content
Browse files

Make LDC1 compile with LLVM 3.2 trunk.

  • Loading branch information...
1 parent 692d624 commit 2173b52aeabf246d1eac0b1a3f805f88ff91fb09 @redstar redstar committed Aug 17, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 dmd/declaration.h
View
4 dmd/declaration.h
@@ -19,8 +19,12 @@
#include <set>
#include <map>
#include <string>
+#if LDC_LLVM_VER >= 302
+#include <llvm/DebugInfo.h>
+#else
#include <llvm/Analysis/DebugInfo.h>
#endif
+#endif
#include "dsymbol.h"
#include "lexer.h"

0 comments on commit 2173b52

Please sign in to comment.
Something went wrong with that request. Please try again.