Pārlūkot izejas kodu

tray, windows: define NOTIFYICON_VERSION_4 and NIF_SHOWTIP, if missing.

Ozkan Sezer 9 mēneši atpakaļ
vecāks
revīzija
50fbae9302
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      src/tray/windows/SDL_tray.c

+ 7 - 0
src/tray/windows/SDL_tray.c

@@ -29,6 +29,13 @@
 
 #include <stdlib.h>
 
+#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 {