[CRT] Introduce corecrt.h

Include this instead of crtdefs.h.
This is for compatibility with MS headers.
This commit is contained in:
Timo Kreuzer 2024-05-12 13:11:22 +03:00
parent 4e3c0529cf
commit 6f6b831722
41 changed files with 65 additions and 52 deletions

25
sdk/include/crt/corecrt.h Normal file
View file

@ -0,0 +1,25 @@
#pragma once
#include <crtdefs.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _CRTRESTRICT
#define _CRTRESTRICT
#endif
#ifndef DEFINED_localeinfo_struct
typedef struct localeinfo_struct
{
pthreadlocinfo locinfo;
pthreadmbcinfo mbcinfo;
} _locale_tstruct, *_locale_t;
#define DEFINED_localeinfo_struct 1
#endif
#ifdef __cplusplus
} // extern "C"
#endif