cmDspClass.c : Added OSX 10.5 (OSX_VER_10_5) conditional compilation blocks.
This commit is contained in:
parent
544fe4acc4
commit
af7328e4d7
@ -250,7 +250,11 @@ void* cmDspInstAllocate(
|
|||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef OSX_VER_10_5
|
||||||
|
va_list _cmDspParseArgV( cmDspVarArg_t* a, va_list vl )
|
||||||
|
#else
|
||||||
void _cmDspParseArgV( cmDspVarArg_t* a, va_list vl )
|
void _cmDspParseArgV( cmDspVarArg_t* a, va_list vl )
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
a->label = va_arg(vl,const char*);
|
a->label = va_arg(vl,const char*);
|
||||||
a->constId = va_arg(vl,unsigned);
|
a->constId = va_arg(vl,unsigned);
|
||||||
@ -258,6 +262,9 @@ void _cmDspParseArgV( cmDspVarArg_t* a, va_list vl )
|
|||||||
a->cn = va_arg(vl,unsigned);
|
a->cn = va_arg(vl,unsigned);
|
||||||
a->flags = va_arg(vl,unsigned);
|
a->flags = va_arg(vl,unsigned);
|
||||||
a->doc = va_arg(vl,const char*);
|
a->doc = va_arg(vl,const char*);
|
||||||
|
#ifdef OSX_VER_10_5
|
||||||
|
return vl;
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -279,6 +286,9 @@ void* cmDspInstAllocateV(cmDspCtx_t* ctx, cmDspClass_t* classPtr, unsigned instB
|
|||||||
|
|
||||||
argCnt += repeatCnt;
|
argCnt += repeatCnt;
|
||||||
|
|
||||||
|
#ifdef OSX_VER_10_5
|
||||||
|
vl1 =
|
||||||
|
#endif
|
||||||
_cmDspParseArgV(&a,vl1);
|
_cmDspParseArgV(&a,vl1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -290,6 +300,9 @@ void* cmDspInstAllocateV(cmDspCtx_t* ctx, cmDspClass_t* classPtr, unsigned instB
|
|||||||
{
|
{
|
||||||
cmDspVarArg_t a;
|
cmDspVarArg_t a;
|
||||||
|
|
||||||
|
#ifdef OSX_VER_10_5
|
||||||
|
vl2 =
|
||||||
|
#endif
|
||||||
_cmDspParseArgV(&a,vl2);
|
_cmDspParseArgV(&a,vl2);
|
||||||
|
|
||||||
cmDspArgSetupN(ctx,aa,argCnt,j,repeatCnt,a.label,a.constId,a.rn, a.cn, a.flags, a.doc );
|
cmDspArgSetupN(ctx,aa,argCnt,j,repeatCnt,a.label,a.constId,a.rn, a.cn, a.flags, a.doc );
|
||||||
|
Loading…
Reference in New Issue
Block a user