diff --git a/programs/wcmd/directory.c b/programs/wcmd/directory.c index 8416f2212bf..6897b960ea3 100644 --- a/programs/wcmd/directory.c +++ b/programs/wcmd/directory.c @@ -161,8 +161,13 @@ ULARGE_INTEGER byte_count, file_size; } else { file_count++; +#ifndef NONAMELESSSTRUCT file_size.LowPart = (fd+i)->nFileSizeLow; file_size.HighPart = (fd+i)->nFileSizeHigh; +#else + file_size.s.LowPart = (fd+i)->nFileSizeLow; + file_size.s.HighPart = (fd+i)->nFileSizeHigh; +#endif byte_count.QuadPart += file_size.QuadPart; WCMD_output ("%8s %8s %10s %s\n", datestring, timestring,