diff --git a/dlls/msvcr90/msvcr90.c b/dlls/msvcr90/msvcr90.c index 3372e0b5a84..43a18343345 100644 --- a/dlls/msvcr90/msvcr90.c +++ b/dlls/msvcr90/msvcr90.c @@ -189,3 +189,17 @@ int CDECL _fstat64i32(int fd, struct _stat64i32* buf) msvcrt_stat64_to_stat64i32(&buf64, buf); return ret; } + +/********************************************************************* + * _stat64i32 (MSVCRT.@) + */ +int CDECL _stat64i32(const char* path, struct _stat64i32 * buf) +{ + int ret; + struct _stat64 buf64; + + ret = _stat64(path, &buf64); + if (!ret) + msvcrt_stat64_to_stat64i32(&buf64, buf); + return ret; +} diff --git a/dlls/msvcr90/msvcr90.spec b/dlls/msvcr90/msvcr90.spec index f350d18e73b..6592e7cd732 100644 --- a/dlls/msvcr90/msvcr90.spec +++ b/dlls/msvcr90/msvcr90.spec @@ -912,7 +912,7 @@ @ stub _stat32 @ stub _stat32i64 @ cdecl _stat64(str ptr) msvcrt._stat64 -@ stub _stat64i32 +@ cdecl _stat64i32(str ptr) @ cdecl _statusfp() msvcrt._statusfp @ stub _statusfp2 @ stub _strcoll_l