FormatMessage implementation for sparc
Gregg Mattinson
gm138242 at scot.canada.sun.com
Tue Jul 2 13:02:11 CDT 2002
- implemented FormatMessage for sparc. Since the va_list is stored in memory
like __i386__, the same implementation should work.
Gregg Mattinson
Co-op Developer
Sun Microsystems of Canada
-------------- next part --------------
Index: dlls/kernel/format_msg.c
===================================================================
RCS file: /opcom/comp/ws/wine/CVSROOT/wine/dlls/kernel/format_msg.c,v
retrieving revision 1.1
diff -u -r1.1 format_msg.c
--- /tmp/T0QuaOvF Tue Jul 2 13:50:36 2002
+++ format_msg.c Tue Jul 2 11:54:05 2002
@@ -158,7 +158,7 @@
va_list* _args )
{
LPDWORD args=(LPDWORD)_args;
-#ifdef __i386__
+#if defined(__i386__) || defined(__sparc)
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
LPSTR target,t;
DWORD talloced;
@@ -386,7 +386,7 @@
va_list* _args )
{
LPDWORD args=(LPDWORD)_args;
-#ifdef __i386__
+#if defined(__i386__) || defined(__sparc)
/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
LPSTR target,t;
DWORD talloced;
More information about the wine-patches
mailing list