Commit 4df46f69 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

msvcrt: Fix compilation on systems that don't support nameless unions.

parent 1235c248
...@@ -884,7 +884,7 @@ __int64 CDECL MSVCRT__lseeki64(int fd, __int64 offset, int whence) ...@@ -884,7 +884,7 @@ __int64 CDECL MSVCRT__lseeki64(int fd, __int64 offset, int whence)
/* The MoleBox protection scheme expects msvcrt to use SetFilePointer only, /* The MoleBox protection scheme expects msvcrt to use SetFilePointer only,
* so a LARGE_INTEGER offset cannot be passed directly via SetFilePointerEx. */ * so a LARGE_INTEGER offset cannot be passed directly via SetFilePointerEx. */
ofs.QuadPart = offset; ofs.QuadPart = offset;
if ((ofs.LowPart = SetFilePointer(hand, ofs.LowPart, &ofs.HighPart, whence)) != INVALID_SET_FILE_POINTER || if ((ofs.u.LowPart = SetFilePointer(hand, ofs.u.LowPart, &ofs.u.HighPart, whence)) != INVALID_SET_FILE_POINTER ||
GetLastError() == ERROR_SUCCESS) GetLastError() == ERROR_SUCCESS)
{ {
MSVCRT_fdesc[fd].wxflag &= ~(WX_ATEOF|WX_READEOF); MSVCRT_fdesc[fd].wxflag &= ~(WX_ATEOF|WX_READEOF);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment