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 /audio | |
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 'audio')
-rw-r--r-- | audio/out/ao_wasapi_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c index 731fe8a85e..c6f66d9371 100644 --- a/audio/out/ao_wasapi_utils.c +++ b/audio/out/ao_wasapi_utils.c @@ -21,6 +21,7 @@ #include <wchar.h> #include <windows.h> #include <errors.h> +#include <mmsystem.h> #include <ksguid.h> #include <ksmedia.h> #include <avrt.h> |