[VCRUNTIME] Add vcruntime.h and related (mostly empty)

This is for compatibility with some 3rd-party code.
This commit is contained in:
Timo Kreuzer 2024-05-11 09:25:04 +03:00
parent 84344399b5
commit ff2c7c8720
6 changed files with 22 additions and 3 deletions

View file

@ -3,7 +3,7 @@
* This file is part of the w64 mingw-runtime package. * This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package. * No warranty is given; refer to the file DISCLAIMER within this package.
*/ */
#include <_mingw.h> #include <vcruntime.h>
#include <specstrings.h> #include <specstrings.h>
#ifndef _INC_CRTDEFS #ifndef _INC_CRTDEFS

View file

@ -10,8 +10,6 @@
#error Only Win32 target is supported! #error Only Win32 target is supported!
#endif #endif
#include <crtdefs.h>
#undef _CRT_PACKING #undef _CRT_PACKING
#define _CRT_PACKING 8 #define _CRT_PACKING 8
#pragma pack(push,_CRT_PACKING) #pragma pack(push,_CRT_PACKING)

View file

@ -0,0 +1,6 @@
#pragma once
#include <_mingw.h>
#include <sal.h>
#include <vadefs.h>

View file

@ -0,0 +1,2 @@
#pragma once

View file

@ -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;

View file

@ -0,0 +1,4 @@
#pragma once
#include <vcruntime.h>