mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Define NCURSES_CONST if curses library doesn't define it.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
01428beb2a
commit
0df9d1ce0b
@ -20,6 +20,11 @@
|
||||
#include <ncursesw/curses.h>
|
||||
#endif /* USE_NCURSESW */
|
||||
|
||||
/* netbsd-libcurses doesn't define NCURSES_CONST */
|
||||
#ifndef NCURSES_CONST
|
||||
#define NCURSES_CONST const
|
||||
#endif
|
||||
|
||||
/*** typedefs(not structures) and defined constants **********************************************/
|
||||
|
||||
/*** enums ***************************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user