summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-24 07:19:19 +0100
committersfan5 <sfan5@live.de>2023-11-25 12:38:20 +0100
commited107c4116c246acad2afba3b93e0e0d8d4a8d4e (patch)
tree6fbcee523502823b2c6298a71ae3bf26310c1560 /video
parentdff48031a1145fce08cd84d386bb1750d4967618 (diff)
downloadmpv-ed107c4116c246acad2afba3b93e0e0d8d4a8d4e.tar.bz2
mpv-ed107c4116c246acad2afba3b93e0e0d8d4a8d4e.tar.xz
meson: adjust win32 defines
- Don't define _GNU_SOURCE on Windows, no need - Define WIN32_LEAN_AND_MEAN to strip some unneded headers from windows.h - Define NOMINMAX and _USE_MATH_DEFINES as they are common for Windows headers
Diffstat (limited to 'video')
-rw-r--r--video/out/win32/droptarget.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/win32/droptarget.c b/video/out/win32/droptarget.c
index 8a33522df0..b1b4824d9c 100644
--- a/video/out/win32/droptarget.c
+++ b/video/out/win32/droptarget.c
@@ -18,6 +18,7 @@
#include <windows.h>
#include <ole2.h>
+#include <shellapi.h>
#include <shobjidl.h>
#include "common/msg.h"