> > +#ifdef NCURSES_MOUSE_VERSION
>
> This one is declared in nurses header. It is used to guard calls to
> ncurses-specific mouse support, as other curses implementations might not
> support it.
>

Thanks for point out. Now I see :-)