tty-ncurses.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef MC__TTY_NCURSES_H
  2. #define MC__TTY_NCURSES_H
  3. #ifdef USE_NCURSES
  4. #ifdef HAVE_NCURSES_CURSES_H
  5. #include <ncurses/curses.h>
  6. #elif defined (HAVE_NCURSES_NCURSES_H)
  7. #include <ncurses/ncurses.h>
  8. #elif defined (HAVE_NCURSESW_CURSES_H)
  9. #include <ncursesw/curses.h>
  10. #elif defined (HAVE_NCURSES_HCURSES_H) || defined (HAVE_NCURSES_H)
  11. #include <ncurses.h>
  12. #else
  13. #include <curses.h>
  14. #endif
  15. #endif /* USE_NCURSES */
  16. #ifdef USE_NCURSESW
  17. #include <ncursesw/curses.h>
  18. #endif /* USE_NCURSESW */
  19. /* netbsd-libcurses doesn't define NCURSES_CONST */
  20. #ifndef NCURSES_CONST
  21. #define NCURSES_CONST const
  22. #endif
  23. /*** typedefs(not structures) and defined constants **********************************************/
  24. /*** enums ***************************************************************************************/
  25. /*** structures declarations (and typedefs of structures)*****************************************/
  26. /*** global variables defined in .c file *********************************************************/
  27. /*** declarations of public functions ************************************************************/
  28. /*** inline functions ****************************************************************************/
  29. #endif /* MC_TTY_NCURSES_H */