mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-10 12:21:39 +00:00
UICommon: Rename HAS_LLVM to HAVE_LLVM
This commit is contained in:
parent
f649e26655
commit
9ca4037ed9
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
#include <disasm.h> // Bochs
|
||||
|
||||
#if defined(HAS_LLVM)
|
||||
#if defined(HAVE_LLVM)
|
||||
// PowerPC.h defines PC.
|
||||
// This conflicts with a function that has an argument named PC
|
||||
#undef PC
|
||||
|
@ -28,7 +28,7 @@ private:
|
|||
u32* host_instructions_count, u64 starting_pc) override;
|
||||
};
|
||||
|
||||
#if defined(HAS_LLVM)
|
||||
#if defined(HAVE_LLVM)
|
||||
class HostDisassemblerLLVM : public HostDisassembler
|
||||
{
|
||||
public:
|
||||
|
@ -153,7 +153,7 @@ std::string HostDisassemblerX86::DisassembleHostBlock(const u8* code_start, cons
|
|||
|
||||
HostDisassembler* GetNewDisassembler(const std::string& arch)
|
||||
{
|
||||
#if defined(HAS_LLVM)
|
||||
#if defined(HAVE_LLVM)
|
||||
if (arch == "x86")
|
||||
return new HostDisassemblerLLVM("x86_64-none-unknown");
|
||||
else if (arch == "aarch64")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue