From b522b84fb4ab32e76668b7e5c3c08bbe7a82fbd0 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 7 Nov 2001 15:57:10 -0500 Subject: Trying to fix curses problems with some systems. --- Source/CursesDialog/cmCursesStandardIncludes.h | 29 +++++++++----------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/Source/CursesDialog/cmCursesStandardIncludes.h b/Source/CursesDialog/cmCursesStandardIncludes.h index ea77852..caa2216 100644 --- a/Source/CursesDialog/cmCursesStandardIncludes.h +++ b/Source/CursesDialog/cmCursesStandardIncludes.h @@ -1,20 +1,11 @@ -#ifdef __hpux - #define _BOOL_DEFINED - #ifndef _XOPEN_SOURCE_EXTENDED - #include - #define _XOPEN_SOURCE_EXTENDED - #include - #include - #undef _XOPEN_SOURCE_EXTENDED - #else - #include - #include - #endif -#else /* __hpux */ - #include - #include -#endif /* __hpux */ - -#ifndef getmaxyx - #define getmaxyx(w,y,x) ((y) = getmaxy(w), (x) = getmaxx(w)) +#if defined(__sun__) && defined(__GNUC__) + #define _MSE_INT_H #endif + +#define _BOOL_DEFINED +#include +#define _XOPEN_SOURCE_EXTENDED +#include +#include +#undef _XOPEN_SOURCE_EXTENDED + -- cgit v0.12