fix on other platforms
This commit is contained in:
parent
cfe6ac5e03
commit
070194ef92
3 changed files with 3 additions and 2 deletions
|
@ -60,6 +60,8 @@ SDLJoystick *joystick = NULL;
|
|||
|
||||
#if PPSSPP_PLATFORM(MAC) || PPSSPP_PLATFORM(IOS)
|
||||
#include "UI/DarwinFileSystemServices.h"
|
||||
#else
|
||||
#define PostDarwinNotificationIfPossible(name, value)
|
||||
#endif
|
||||
|
||||
#if PPSSPP_PLATFORM(MAC)
|
||||
|
|
|
@ -39,6 +39,4 @@ void PostDarwinNotification(const char *name, const char *value);
|
|||
// Currently, this is just macOS only
|
||||
// to update the top bar
|
||||
#define PostDarwinNotificationIfPossible(name, value) PostDarwinNotification(name, value)
|
||||
#else
|
||||
#define PostDarwinNotificationIfPossible(name, value)
|
||||
#endif
|
||||
|
|
|
@ -103,6 +103,7 @@ Target->OnClick.Add([&](UI::EventParams &) -> UI::EventReturn { \
|
|||
});
|
||||
|
||||
#else
|
||||
#define PostDarwinNotificationIfPossible(name, value)
|
||||
#define OnClickPostDarwinNotification
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue