mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Make dtksh build on OpenBSD/powerpc.
This commit is contained in:
parent
c50eb571e3
commit
79486301d1
2 changed files with 3 additions and 3 deletions
|
@ -214,7 +214,7 @@ hashalloc __PARAM__((Hash_table_t* ref, ...), (va_alist)) __OTORP__(va_dcl)
|
|||
tab->flags |= HASH_STATIC;
|
||||
break;
|
||||
case HASH_va_list:
|
||||
#if defined(CSRG_BASED) && !defined(__LP64__)
|
||||
#if defined(CSRG_BASED) && defined(__i386__)
|
||||
if (vp < &va[elementsof(va)]) *vp++ = ap;
|
||||
ap = va_arg(ap, va_list);
|
||||
#else
|
||||
|
@ -230,7 +230,7 @@ hashalloc __PARAM__((Hash_table_t* ref, ...), (va_alist)) __OTORP__(va_dcl)
|
|||
case 0:
|
||||
if (vp > va)
|
||||
{
|
||||
#if defined(CSRG_BASED) && !defined(__LP64__)
|
||||
#if defined(CSRG_BASED) && defined(__i386__)
|
||||
ap = *--vp;
|
||||
#else
|
||||
vp--;
|
||||
|
|
|
@ -319,7 +319,7 @@ loop_fa :
|
|||
default : /* unknown directive */
|
||||
if(extf)
|
||||
{
|
||||
#if defined(CSRG_BASED) && !defined(__LP64__)
|
||||
#if defined(CSRG_BASED) && defined(__i386__)
|
||||
va_list savarg = args; /* is this portable? */
|
||||
#else
|
||||
va_list savarg; /* is this portable? Sorry .. NO. */
|
||||
|
|
Loading…
Reference in a new issue