From: Jacek Caban <jacek@codeweavers.com> --- include/msvcrt/corecrt.h | 4 ++++ include/msvcrt/stdio.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/include/msvcrt/corecrt.h b/include/msvcrt/corecrt.h index b5bf31b728d..bbb140aa5c6 100644 --- a/include/msvcrt/corecrt.h +++ b/include/msvcrt/corecrt.h @@ -213,7 +213,11 @@ typedef __msvcrt_long __time32_t; #endif #ifndef _TIME64_T_DEFINED +#if defined(_MSC_VER) || defined(__MINGW32__) +typedef __int64 __time64_t; +#else typedef __int64 DECLSPEC_ALIGN(8) __time64_t; +#endif #define _TIME64_T_DEFINED #endif diff --git a/include/msvcrt/stdio.h b/include/msvcrt/stdio.h index 97526fe7ae1..50ece81fd59 100644 --- a/include/msvcrt/stdio.h +++ b/include/msvcrt/stdio.h @@ -46,7 +46,11 @@ #endif #ifndef _FPOS_T_DEFINED +#if defined(_MSC_VER) || defined(__MINGW32__) +typedef __int64 fpos_t; +#else typedef __int64 DECLSPEC_ALIGN(8) fpos_t; +#endif #define _FPOS_T_DEFINED #endif -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/10145