Module: wine Branch: master Commit: e46b99d2385d5d2fc2cf84d950c79dc7d7580d53 URL: http://source.winehq.org/git/wine.git/?a=commit;h=e46b99d2385d5d2fc2cf84d950...
Author: Francois Gouget fgouget@free.fr Date: Sun Mar 4 01:59:59 2007 +0100
cmd: Fix compilation on systems that don't support nameless unions.
---
programs/cmd/batch.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/programs/cmd/batch.c b/programs/cmd/batch.c index eb1bd09..cb09d47 100644 --- a/programs/cmd/batch.c +++ b/programs/cmd/batch.c @@ -603,13 +603,13 @@ void WCMD_call (char *command) { /* Save the current file position, call the same file, restore position */ li.QuadPart = 0; - li.LowPart = SetFilePointer(context -> h, li.LowPart, - &li.HighPart, FILE_CURRENT); + li.u.LowPart = SetFilePointer(context -> h, li.u.LowPart, + &li.u.HighPart, FILE_CURRENT);
WCMD_batch (param1, command, 1, gotoLabel, context->h);
- SetFilePointer(context -> h, li.LowPart, - &li.HighPart, FILE_BEGIN); + SetFilePointer(context -> h, li.u.LowPart, + &li.u.HighPart, FILE_BEGIN); } else { printf("Cannot call batch label outside of a batch script\n"); }