diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-24 07:19:19 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-11-25 12:38:20 +0100 |
commit | ed107c4116c246acad2afba3b93e0e0d8d4a8d4e (patch) | |
tree | 6fbcee523502823b2c6298a71ae3bf26310c1560 /video | |
parent | dff48031a1145fce08cd84d386bb1750d4967618 (diff) | |
download | mpv-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.c | 1 |
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" |