WiimoteEmu: check for __APPLE__ with defined()

This is only defined on certain platforms and isn't always defined.
This commit is contained in:
Lioncash 2024-01-23 16:38:26 -05:00
parent 3c64d030c5
commit a9f89a7d3b

View File

@ -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