The issue is that resize_term_WinPDC is compiled also by some compilers
that are not windows compilers. I would suggest a small modification
like the patch below. After this change everthing compiled and
worked flawlessly for me.
Thanks again for your nice comment.
These three functions were surrounded by #ifdef USE_MAXSCREEN_TOGGLE, and
USE_MAXSCREEN_TOGGLE is defined only in Windows environment.
int resize_term_WinPDC(int nlines, int ncols)
void maxmizeWindowSize(void)
void recoverWindowSize(void)
But
void start_curses(void)
is a function for all environments, so I updated a patch.
It is a replacement of lynx.patch_for_289dev16-9.