install default config files to $PREFIX/share/wine

Boaz Harrosh boaz at hishome.net
Mon Jan 5 02:31:44 CST 2004


<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.



More information about the wine-devel mailing list