diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2024-01-23 16:38:26 -0500 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2024-01-23 16:40:21 -0500 |
| commit | a9f89a7d3b71bb151f509b1c499cba8af166b048 (patch) | |
| tree | e644d65b7e1693d2a0da719b25cdf0ca2832e19d /Source | |
| parent | 3c64d030c5895519023ac42a925ace289bc8738b (diff) | |
WiimoteEmu: check for __APPLE__ with defined()
This is only defined on certain platforms and isn't always defined.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
