From 767049e38f6a1efeb8999ab609b5aa245c92908f Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Mon, 20 Mar 2023 00:10:49 +0100 Subject: [PATCH] Add support for Windows SDK 10.0.10240.0 Defined missing types from this particular version of the SDK. --- r5dev/core/stdafx.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/r5dev/core/stdafx.h b/r5dev/core/stdafx.h index 3a7ca619..0bc5e8dd 100644 --- a/r5dev/core/stdafx.h +++ b/r5dev/core/stdafx.h @@ -32,8 +32,17 @@ #include #include #include +#include #include +// Windows specifics. +#ifndef FILE_SUPPORTS_GHOSTING +#define FILE_SUPPORTS_GHOSTING 0x40000000 // winnt +#endif +#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING +#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004 +#endif + #if !defined(DEDICATED) && !defined(SDKLAUNCHER) && !defined (NETCONSOLE) && !defined(PLUGINSDK) #include #endif // !DEDICATED && !SDKLAUNCHER && !NETCONSOLE && !PLUGINSDK