1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtappbuilder: fixes to build in autotools branch for freebsd

This commit is contained in:
Jon Trulson 2021-05-30 18:11:47 -06:00
parent 2642674ed4
commit 487305f7cf
2 changed files with 6 additions and 2 deletions

View file

@ -350,9 +350,9 @@ write_func_def_params(
va_list va_params
)
{
#if defined(va_copy) || defined(CSRG_BASED)
#if defined(va_copy)
#define va_start_params() va_copy(params, va_params)
#elif defined(__ppc) || defined(__linux__)
#elif defined(__ppc) || defined(__linux__) || defined(CSRG_BASED)
#define va_start_params() __va_copy(params, va_params)
#else
#define va_start_params() (params = va_params)

View file

@ -43,7 +43,9 @@
* This file contains the implementation of the uil load
* component
*/
#include <unistd.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
@ -1173,7 +1175,9 @@ parse_uil(
/*
* Disable Uil specified signal handlers, grrr!
*/
#ifdef SIGBUS
signal( SIGBUS, SIG_DFL);
#endif
#ifdef SIGSYS
signal( SIGSYS, SIG_DFL);
#endif