mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Fix for compiling with SHOPT_DYNAMIC disabled
src/cmd/ksh93/bltins/typeset.c: - Correct faulty preprocessor directive logic causing a build failure if SHOPT_DYNAMIC is disabled.
This commit is contained in:
parent
e981f7c8b8
commit
4d5e21de80
1 changed files with 4 additions and 1 deletions
|
@ -1062,14 +1062,17 @@ int b_builtin(int argc,char *argv[],Shbltin_t *context)
|
|||
sfputr(stkp,name,0);
|
||||
errmsg = 0;
|
||||
addr = 0;
|
||||
#if SHOPT_DYNAMIC
|
||||
if(dlete || liblist)
|
||||
for(n=(nlib?nlib:dlete); --n>=0;)
|
||||
{
|
||||
#if SHOPT_DYNAMIC
|
||||
if(!dlete && !liblist[n].dll)
|
||||
continue;
|
||||
if(dlete || (addr = (Shbltin_f)dlllook(liblist[n].dll,stkptr(stkp,flag))))
|
||||
#else
|
||||
if(dlete)
|
||||
for(n=dlete; --n>=0;)
|
||||
{
|
||||
if(dlete)
|
||||
#endif /* SHOPT_DYNAMIC */
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue