CMake/Source/CursesDialog/cmCursesStandardIncludes.h

21 lines
426 B
C
Raw Normal View History

2001-11-05 21:24:44 +03:00
#ifdef __hpux
#define _BOOL_DEFINED
#ifndef _XOPEN_SOURCE_EXTENDED
#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
#else /* __hpux */
#include <curses.h>
#include <form.h>
2001-11-05 21:24:44 +03:00
#endif /* __hpux */
#ifndef getmaxyx
#define getmaxyx(w,y,x) ((y) = getmaxy(w), (x) = getmaxx(w))
#endif