Commit 78c4dd34 authored by Gregg Mattinson's avatar Gregg Mattinson Committed by Alexandre Julliard

Implemented FormatMessage for sparc. Since the va_list is stored in

memory like __i386__, the same implementation should work.
parent 7015ce30
...@@ -158,7 +158,7 @@ DWORD WINAPI FormatMessageA( ...@@ -158,7 +158,7 @@ DWORD WINAPI FormatMessageA(
va_list* _args ) va_list* _args )
{ {
LPDWORD args=(LPDWORD)_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 */ /* This implementation is completely dependant on the format of the va_list on x86 CPUs */
LPSTR target,t; LPSTR target,t;
DWORD talloced; DWORD talloced;
...@@ -386,7 +386,7 @@ DWORD WINAPI FormatMessageW( ...@@ -386,7 +386,7 @@ DWORD WINAPI FormatMessageW(
va_list* _args ) va_list* _args )
{ {
LPDWORD args=(LPDWORD)_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 */ /* This implementation is completely dependant on the format of the va_list on x86 CPUs */
LPSTR target,t; LPSTR target,t;
DWORD talloced; DWORD talloced;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment