FFmpeg-Builds/patches/vulkan/0003-Define-appropiate-minimum-Windows-Version.patch

29 lines
697 B
Diff
Raw Normal View History

2021-07-12 14:29:31 +00:00
From 9e735ac1e3d15cc75185c988e954979c83521881 Mon Sep 17 00:00:00 2001
2021-04-05 06:47:23 +00:00
From: BtbN <btbn@btbn.de>
Date: Mon, 7 Sep 2020 20:33:23 +0200
Subject: [PATCH 3/4] Define appropiate minimum Windows-Version
---
loader/vk_loader_platform.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/loader/vk_loader_platform.h b/loader/vk_loader_platform.h
2021-05-30 16:30:44 +00:00
index 437b3c320..badcbc816 100644
2021-04-05 06:47:23 +00:00
--- a/loader/vk_loader_platform.h
+++ b/loader/vk_loader_platform.h
@@ -24,6 +24,11 @@
#pragma once
#if defined(_WIN32)
+
+#define WINVER 0x0601
+#define _WIN32_WINNT 0x0601
+#define STRSAFE_NO_DEPRECATE 1
+
// WinSock2.h must be included *BEFORE* windows.h
#include <winsock2.h>
#endif // _WIN32
--
2.25.1