summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesStandardIncludes.h
blob: b932d168faab9a51df06be66ce2f5df22e04f324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#if defined(__sun__) && defined(__GNUC__)
 #define _MSE_INT_H
#endif

#if defined(__hpux)
 #define _BOOL_DEFINED
 #include <sys/time.h>
 #define _XOPEN_SOURCE_EXTENDED
 #include <curses.h>
 #include <form.h>
 #undef _XOPEN_SOURCE_EXTENDED
#else
 #include <curses.h>
 #include <form.h>
#endif

#ifndef getmaxyx
 #define getmaxyx(w,y,x) ((y) = getmaxy(w), (x) = getmaxx(w))
#endif