wchar_t in msvcrt
Dimitrie O. Paun
dpaun at rogers.com
Wed Nov 27 16:20:13 CST 2002
When you compile a Winelib app with msvcrt, we have to have
a way to tell it to define wchar_t, as nothing else will.
ChangeLog
Add a way to tell msvcrt to define wchar_t
Index: include/msvcrt/stddef.h
===================================================================
RCS file: /var/cvs/wine/include/msvcrt/stddef.h,v
retrieving revision 1.4
diff -u -r1.4 stddef.h
--- include/msvcrt/stddef.h 10 Mar 2002 00:02:38 -0000 1.4
+++ include/msvcrt/stddef.h 19 Nov 2002 17:09:20 -0000
@@ -32,6 +32,9 @@
#endif
/* Best to leave this one alone: wchar_t */
+#ifdef WINE_DEFINE_WCHAR_T
+typedef short unsigned int wchar_t;
+#endif
#define offsetof(s,m) (size_t)&(((s*)NULL)->m)
--
Dimi.
More information about the wine-patches
mailing list