diff options
Diffstat (limited to 'src/LYCurses.c')
-rw-r--r-- | src/LYCurses.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LYCurses.c b/src/LYCurses.c index e475043d..f74b38b3 100644 --- a/src/LYCurses.c +++ b/src/LYCurses.c @@ -944,7 +944,7 @@ PUBLIC void lynx_enable_mouse ARGS1(int,state) SLtt_flush_output (); #else -#if defined(WIN_EX) && defined(PDCURSES) +#if defined(WIN_EX) && defined(PDCURSES_MOUSE_VERSION) if (state) { SetConsoleMode(hConIn, ENABLE_MOUSE_INPUT | ENABLE_WINDOW_INPUT); @@ -984,9 +984,9 @@ PUBLIC void lynx_enable_mouse ARGS1(int,state) } else mousemask(0, NULL); #endif /* NCURSES_MOUSE_VERSION */ -#endif /* WIN_EX and PDCURSES */ +#endif /* WIN_EX and PDCURSES_MOUSE_VERSION */ -#if defined(PDCURSES) +#if defined(PDCURSES_MOUSE_VERSION) if (state) mouse_set( BUTTON1_CLICKED | BUTTON1_PRESSED | BUTTON1_RELEASED | |