mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-25 16:30:05 +00:00
Fix build failure with MSVC, following r208680
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208684 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d9fa8f2dd
commit
56db241e8b
@ -27,6 +27,9 @@
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
|
||||
// this needs to be outside of the namespace, to avoid conflict with llvm-c decl
|
||||
typedef struct LLVMOpaqueTargetData *LLVMTargetDataRef;
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Value;
|
||||
@ -445,8 +448,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
typedef struct LLVMOpaqueTargetData *LLVMTargetDataRef;
|
||||
|
||||
inline DataLayout *unwrap(LLVMTargetDataRef P) {
|
||||
return reinterpret_cast<DataLayout*>(P);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user