Winefile compilation fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gcc 3.3.1 complains that:

winefile.c:579:65: pasting "." and "pOleStr" does not give a valid
preprocessing token

But there is no need to try and make a single token in UNION_MEMBER.
Hence the following fix.

Changelog:

 * programs/winefile/winefile.c
   Fix xcompilation error.

Index: programs/winefile/winefile.c
===================================================================
RCS file: /home/wine/wine/programs/winefile/winefile.c,v
retrieving revision 1.10
diff -u -r1.10 winefile.c
--- programs/winefile/winefile.c	13 Aug 2003 01:18:37 -0000	1.10
+++ programs/winefile/winefile.c	13 Aug 2003 09:16:52 -0000
@@ -50,7 +50,7 @@
 #endif

 #ifdef NONAMELESSUNION
-#define	UNION_MEMBER(x) DUMMYUNIONNAME.##x
+#define	UNION_MEMBER(x) DUMMYUNIONNAME.x
 #else
 #define	UNION_MEMBER(x) x
 #endif


-- 
Francois Gouget         fgouget@free.fr        http://fgouget.free.fr/
  Good judgment comes from experience, and experience comes from bad judgment
                               -- Barry LePatner



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux