From a9f89a7d3b71bb151f509b1c499cba8af166b048 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 23 Jan 2024 16:38:26 -0500 Subject: [PATCH] WiimoteEmu: check for __APPLE__ with defined() This is only defined on certain platforms and isn't always defined. --- Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp index e74e807898..b3aab5b486 100644 --- a/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp +++ b/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp @@ -694,7 +694,7 @@ void Wiimote::LoadDefaults(const ControllerInterface& ciface) m_buttons->SetControlExpression(0, "`Click 1`"); // B m_buttons->SetControlExpression(1, "`Click 3`"); -#elif __APPLE__ +#elif defined(__APPLE__) // A m_buttons->SetControlExpression(0, "`Left Click`"); // B