From 63f6536c72fe0ca23fdcd6dab7a5347d1b7eed96 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 12 Mar 2012 16:19:32 +0000 Subject: [PATCH] Initialise varargs list in the same way as OSF --- cde/programs/dtappbuilder/src/abmf/stubs_c_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/programs/dtappbuilder/src/abmf/stubs_c_file.c b/cde/programs/dtappbuilder/src/abmf/stubs_c_file.c index 6534e1fd..06007c22 100644 --- a/cde/programs/dtappbuilder/src/abmf/stubs_c_file.c +++ b/cde/programs/dtappbuilder/src/abmf/stubs_c_file.c @@ -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 as structure of char ** and int * Sun define va_list as void * */ va_list paramList = { NULL, 0 }; -- 2.25.1