Skip to content

Commit

Permalink
MacOs/Arm64: Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Megamouse committed Sep 23, 2024
1 parent 340c17f commit 4c3d243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpcs3/Emu/CPU/Backends/AArch64/AArch64Signal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

namespace aarch64
{
constexpr u32 ESR_CTX_MAGIC = 0x45535201;

// Some of the EC codes we care about
enum class EL1_exception_class
{
Expand All @@ -23,6 +21,8 @@ namespace aarch64
};

#ifdef __linux__
constexpr u32 ESR_CTX_MAGIC = 0x45535201;

const aarch64_esr_ctx* find_EL1_esr_context(const ucontext_t* ctx)
{
u32 offset = 0;
Expand Down

0 comments on commit 4c3d243

Please sign in to comment.