PDCurses requires PDC_NCMOUSE for compatibility with ncurses
The PDC_NCMOUSE has to be defined on the command line or above the #include entries in win/curses/cursmisc.c. This does the former command line change.
This commit is contained in:
@@ -38,12 +38,6 @@ extern WINDOW *mapwin, *statuswin, *messagewin; /* Main windows */
|
||||
#endif /* !__APPLE__ && !PDCURSES */
|
||||
#define CURSES_DARK_GRAY 17
|
||||
#define MAP_SCROLLBARS
|
||||
#ifdef PDCURSES
|
||||
# define getmouse nc_getmouse
|
||||
# ifndef NCURSES_MOUSE_VERSION
|
||||
# define NCURSES_MOUSE_VERSION
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if !defined(A_LEFTLINE) && defined(A_LEFT)
|
||||
#define A_LEFTLINE A_LEFT
|
||||
|
||||
@@ -634,7 +634,7 @@ DLB =
|
||||
#==========================================
|
||||
|
||||
{$(WCURSES)}.c{$(OBJ)}.o:
|
||||
@$(cc) $(PDCINCL) $(cflagsBuild) -Fo$@ $<
|
||||
@$(cc) -DPDC_NCMOUSE $(PDCINCL) $(cflagsBuild) -Fo$@ $<
|
||||
|
||||
#{$(WCURSES)}.txt{$(DAT)}.txt:
|
||||
# @copy $< $@
|
||||
|
||||
Reference in New Issue
Block a user