Implemented FormatMessage for sparc. Since the va_list is stored in
memory like __i386__, the same implementation should work.
This commit is contained in:
parent
7015ce3096
commit
78c4dd349c
|
@ -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(
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue