OpenBSD fixes for DtWidget, dtaction, dtappbuilder.
This commit is contained in:
committed by
Jon Trulson
parent
8bbf5a7a1b
commit
3718075b7c
@@ -279,7 +279,7 @@ printf_setval(GenCodeInfo genCodeInfo, ABObj obj, ...)
|
||||
{
|
||||
int return_value = 0;
|
||||
File codeFile = genCodeInfo->code_file;
|
||||
#if defined(__osf__) || defined(linux)
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
/* 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 };
|
||||
|
||||
@@ -350,7 +350,7 @@ write_func_def_params(
|
||||
va_list va_params
|
||||
)
|
||||
{
|
||||
#if defined(__ppc) || defined(linux)
|
||||
#if defined(__ppc) || defined(linux) || defined(CSRG_BASED)
|
||||
#define va_start_params() __va_copy(params, va_params)
|
||||
#else
|
||||
#define va_start_params() (params = va_params)
|
||||
|
||||
Reference in New Issue
Block a user