Trying to fix curses problems with some systems.
This commit is contained in:
parent
a3f6e2f9c4
commit
b522b84fb4
|
@ -1,20 +1,11 @@
|
||||||
#ifdef __hpux
|
#if defined(__sun__) && defined(__GNUC__)
|
||||||
#define _BOOL_DEFINED
|
#define _MSE_INT_H
|
||||||
#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>
|
|
||||||
#endif /* __hpux */
|
|
||||||
|
|
||||||
#ifndef getmaxyx
|
|
||||||
#define getmaxyx(w,y,x) ((y) = getmaxy(w), (x) = getmaxx(w))
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define _BOOL_DEFINED
|
||||||
|
#include <sys/time.h>
|
||||||
|
#define _XOPEN_SOURCE_EXTENDED
|
||||||
|
#include <curses.h>
|
||||||
|
#include <form.h>
|
||||||
|
#undef _XOPEN_SOURCE_EXTENDED
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue