In a recent note, T.E.Dickey said:
> Date: Sat, 1 Apr 100 13:18:48 -0500 (EST)
> >
> > +#ifndef getbkgd
> > +#define getbkgd(win) ((win)->_bkgd)
> > +#endif
> ok - then I'll have to ifdef this
>
> #if defined(PDCURSES) || defined(NCURSES_VERSION)
> #endif
>
Indeed. Wrapping the two lines you supplied about the three lines I quoted
relieves the problem. I never woulda thunk it.
It's interesting that the point of the error in LYOptions.c is:
#if defined(HAVE_GETBKGD)/* not defined in ncurses 1.8.7 */
wbkgd(form_window, getbkgd(stdscr));
wbkgdset(form_window, getbkgd(stdscr));
#endif
It seems sligntly contradictory that if LYCurses.h guarantees the availability
of getbkgd(), configure provides a macro to test its availability.
Thanks,
gil
--
StorageTek
INFORMATION made POWERFUL