1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

Initialise varargs list in the same way as OSF

This commit is contained in:
Peter Howkins 2012-03-12 16:19:32 +00:00
parent 71e364de5c
commit 63f6536c72

View file

@ -279,7 +279,7 @@ printf_setval(GenCodeInfo genCodeInfo, ABObj obj, ...)
{
int return_value = 0;
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
* Sun define va_list as void * */
va_list paramList = { NULL, 0 };