cmCursesStandardIncludes.h 381 B

123456789101112131415161718192021
  1. #if defined(__sun__) && defined(__GNUC__)
  2. #define _MSE_INT_H
  3. #endif
  4. #if defined(__hpux)
  5. #define _BOOL_DEFINED
  6. #include <sys/time.h>
  7. #define _XOPEN_SOURCE_EXTENDED
  8. #include <curses.h>
  9. #include <form.h>
  10. #undef _XOPEN_SOURCE_EXTENDED
  11. #else
  12. #include <curses.h>
  13. #include <form.h>
  14. #endif
  15. #ifndef getmaxyx
  16. #define getmaxyx(w,y,x) ((y) = getmaxy(w), (x) = getmaxx(w))
  17. #endif