Re: install default config files to $PREFIX/share/wine

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

 



<Patch>

Index: include/olectl.h
===================================================================
RCS file: /home/wine/wine/include/olectl.h,v
retrieving revision 1.19
diff -u -r1.19 olectl.h
--- include/olectl.h    5 Sep 2003 23:15:44 -0000    1.19
+++ include/olectl.h    5 Jan 2004 08:24:39 -0000
@@ -97,7 +97,11 @@
  BOOL     fStrikethrough;
} FONTDESC, *LPFONTDESC;

-#define FONTSIZE(n) { n##0000, 0 }
+#ifdef __cplusplus
+#   define FONTSIZE(n) ( n##0000, 0 ) /*use constructor*/
+#else
+#   define FONTSIZE(n) { n##0000, 0 }
+#endif /*__cplusplus*/

#define PICTYPE_UNINITIALIZED (-1)
#define PICTYPE_NONE          0

</Patch>

Some simple fix for C++ with the macro FONTSIZE
So ATL and MFC can compile.


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

  Powered by Linux