Initialise varargs list in the same way as OSF
This commit is contained in:
@@ -279,7 +279,7 @@ printf_setval(GenCodeInfo genCodeInfo, ABObj obj, ...)
|
|||||||
{
|
{
|
||||||
int return_value = 0;
|
int return_value = 0;
|
||||||
File codeFile = genCodeInfo->code_file;
|
File codeFile = genCodeInfo->code_file;
|
||||||
#ifdef __osf__
|
#if defined(__osf__) || defined(linux)
|
||||||
/* OSF/1 define va_list in <va_list.h> as structure of char ** and int
|
/* OSF/1 define va_list in <va_list.h> as structure of char ** and int
|
||||||
* Sun define va_list as void * */
|
* Sun define va_list as void * */
|
||||||
va_list paramList = { NULL, 0 };
|
va_list paramList = { NULL, 0 };
|
||||||
|
|||||||
Reference in New Issue
Block a user