https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ff2c7c872062822e69aa0…
commit ff2c7c872062822e69aa0a9e645fe25e61509c6c
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sat May 11 09:25:04 2024 +0300
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sat Nov 2 12:52:59 2024 +0200
[VCRUNTIME] Add vcruntime.h and related (mostly empty)
This is for compatibility with some 3rd-party code.
---
sdk/include/vcruntime/crtdefs.h | 2 +-
sdk/include/vcruntime/vadefs.h | 2 --
sdk/include/vcruntime/vcruntime.h | 6 ++++++
sdk/include/vcruntime/vcruntime_new_debug.h | 2 ++
sdk/include/vcruntime/vcruntime_startup.h | 9 +++++++++
sdk/include/vcruntime/vcruntime_string.h | 4 ++++
6 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/sdk/include/vcruntime/crtdefs.h b/sdk/include/vcruntime/crtdefs.h
index be29b637cae..0b93ca1e9f1 100644
--- a/sdk/include/vcruntime/crtdefs.h
+++ b/sdk/include/vcruntime/crtdefs.h
@@ -3,7 +3,7 @@
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
-#include <_mingw.h>
+#include <vcruntime.h>
#include <specstrings.h>
#ifndef _INC_CRTDEFS
diff --git a/sdk/include/vcruntime/vadefs.h b/sdk/include/vcruntime/vadefs.h
index 5506bb7db24..f01e67e496b 100644
--- a/sdk/include/vcruntime/vadefs.h
+++ b/sdk/include/vcruntime/vadefs.h
@@ -10,8 +10,6 @@
#error Only Win32 target is supported!
#endif
-#include <crtdefs.h>
-
#undef _CRT_PACKING
#define _CRT_PACKING 8
#pragma pack(push,_CRT_PACKING)
diff --git a/sdk/include/vcruntime/vcruntime.h b/sdk/include/vcruntime/vcruntime.h
new file mode 100644
index 00000000000..aa8e3f59b65
--- /dev/null
+++ b/sdk/include/vcruntime/vcruntime.h
@@ -0,0 +1,6 @@
+
+#pragma once
+
+#include <_mingw.h>
+#include <sal.h>
+#include <vadefs.h>
diff --git a/sdk/include/vcruntime/vcruntime_new_debug.h
b/sdk/include/vcruntime/vcruntime_new_debug.h
new file mode 100644
index 00000000000..99ddf32dbf3
--- /dev/null
+++ b/sdk/include/vcruntime/vcruntime_new_debug.h
@@ -0,0 +1,2 @@
+
+#pragma once
diff --git a/sdk/include/vcruntime/vcruntime_startup.h
b/sdk/include/vcruntime/vcruntime_startup.h
new file mode 100644
index 00000000000..646ca4e82d4
--- /dev/null
+++ b/sdk/include/vcruntime/vcruntime_startup.h
@@ -0,0 +1,9 @@
+
+#pragma once
+
+typedef enum _crt_argv_mode
+{
+ _crt_argv_no_arguments,
+ _crt_argv_unexpanded_arguments,
+ _crt_argv_expanded_arguments,
+} _crt_argv_mode;
diff --git a/sdk/include/vcruntime/vcruntime_string.h
b/sdk/include/vcruntime/vcruntime_string.h
new file mode 100644
index 00000000000..3dfac8d4bd1
--- /dev/null
+++ b/sdk/include/vcruntime/vcruntime_string.h
@@ -0,0 +1,4 @@
+
+#pragma once
+
+#include <vcruntime.h>