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

Dmitry Timoshkov dmitry at codeweavers.com
Sun Mar 4 01:38:10 CST 2007


"Francois Gouget" <fgouget at free.fr> wrote:

> This fixes compilation with gcc 2.95.
> 
> programs/cmd/batch.c |    8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)

As a more general solution that would also prevent this kind of breakage
in future would be to move

#define NONAMELESSUNION
#define NONAMELESSSTRUCT

from directory.c to wcmd.h.

-- 
Dmitry.



More information about the wine-devel mailing list