From 50fbae93029083e950575fd10163daf54d744e27 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 27 Dec 2024 05:30:50 +0300 Subject: [PATCH] tray, windows: define NOTIFYICON_VERSION_4 and NIF_SHOWTIP, if missing. --- src/tray/windows/SDL_tray.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/tray/windows/SDL_tray.c b/src/tray/windows/SDL_tray.c index e2823a1c88..94aa258e34 100644 --- a/src/tray/windows/SDL_tray.c +++ b/src/tray/windows/SDL_tray.c @@ -29,6 +29,13 @@ #include +#ifndef NOTIFYICON_VERSION_4 +#define NOTIFYICON_VERSION_4 4 +#endif +#ifndef NIF_SHOWTIP +#define NIF_SHOWTIP 0x00000080 +#endif + #define WM_TRAYICON (WM_USER + 1) struct SDL_TrayMenu {