fix on other platforms

This commit is contained in:
Serena 2023-02-06 22:34:27 +03:00
parent cfe6ac5e03
commit 070194ef92
3 changed files with 3 additions and 2 deletions

View file

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

View file

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

View file

@ -103,6 +103,7 @@ Target->OnClick.Add([&](UI::EventParams &) -> UI::EventReturn { \
});
#else
#define PostDarwinNotificationIfPossible(name, value)
#define OnClickPostDarwinNotification
#endif