summaryrefslogtreecommitdiffstats
path: root/stream
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 /stream
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 'stream')
-rw-r--r--stream/stream_file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_file.c b/stream/stream_file.c
index 4895a8301b..5f06131f18 100644
--- a/stream/stream_file.c
+++ b/stream/stream_file.c
@@ -50,6 +50,7 @@
#ifdef _WIN32
#include <windows.h>
+#include <winioctl.h>
#include <winternl.h>
#include <io.h>