Fix LLVM 3.3 build.

llvm/CallingConv.h was moved to folder llvm/IR.
This commit is contained in:
kai
2013-02-28 06:56:18 +01:00
parent f28504db23
commit 72b04d6ef8

View File

@@ -18,7 +18,11 @@
#define LDC_GEN_ABI_H
#include "mars.h"
#if LDC_LLVM_VER >= 303
#include "llvm/IR/CallingConv.h"
#else
#include "llvm/CallingConv.h"
#endif
#include <vector>
struct Type;