>> > * correct ifdef's in LYStrings.c for NCURSES_MOUSE_VERSION versus PDCURSES
>> >   adding new PDCURSES_MOUSE_VERSION to cover special case of DJGPP (reported by
>> >   LP, DK) -TD
>>
>> Well, it now build on DJGPP,
>> but I am curious: why we keep such list growing -
>> NCURSES_MOUSE_VERSION, PDCURSES_MOUSE_VERSION, USE_SLANG_MOUSE
>> instead of single USE_MOUSE

> because the mouse interfaces are different, and it seemed simplest to ifdef
> with just one-more-name as I did.

>> (with modifiers NCURSES, NCURSES_VERSION, PDCURSES, USE_SLANG if necessary)?

> possibly - but the pieces of code I've been ifdef'ing are mostly specific
> to one library, not the common code.

I have another feeling: look into LYMain.c, LYReadCFG.c, LYMainLoop.c, etc.
they all have some general mouse-related code. And ncurses/slang specific code
mostly localized in LYStrings.h and LYCurses.h, so my suggestions have some
sence.



Reply via email to