diff --git a/dlls/kernel/format_msg.c b/dlls/kernel/format_msg.c index 435c7d1dd58..6b3469f91ec 100644 --- a/dlls/kernel/format_msg.c +++ b/dlls/kernel/format_msg.c @@ -158,7 +158,7 @@ DWORD WINAPI FormatMessageA( 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 @@ DWORD WINAPI FormatMessageW( 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;