diff options
author | Ådne Hovda <ahovda@openit.com> | 2014-11-18 09:04:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-18 15:02:33 (GMT) |
commit | 44f02b42fb3b2278fdf8e9bd450c3f01573d1e3e (patch) | |
tree | a39f9386810fd068a532f4779492fc7eee54eed3 /Source/CursesDialog/form/form.priv.h | |
parent | ee3d06a41ec6b5355083a3eba36cf73a5438c1c5 (diff) | |
download | CMake-44f02b42fb3b2278fdf8e9bd450c3f01573d1e3e.zip CMake-44f02b42fb3b2278fdf8e9bd450c3f01573d1e3e.tar.gz CMake-44f02b42fb3b2278fdf8e9bd450c3f01573d1e3e.tar.bz2 |
ccmake: Use standard getmaxyx instead of non-standard getmax[xy]
Swap out getmax[xy]() calls for single call to getmaxyx(), to support
strict X/Open conformant curses implementations, e.g. HP-UX Xcurses.
Diffstat (limited to 'Source/CursesDialog/form/form.priv.h')
-rw-r--r-- | Source/CursesDialog/form/form.priv.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/CursesDialog/form/form.priv.h b/Source/CursesDialog/form/form.priv.h index 889c6e4..8516a6f 100644 --- a/Source/CursesDialog/form/form.priv.h +++ b/Source/CursesDialog/form/form.priv.h @@ -33,12 +33,6 @@ #include "mf_common.h" #include "form.h" -/* get around odd bug on aCC and itanium */ -#if defined(__hpux) -#define getmaxx __getmaxx -#define getmaxy __getmaxy -#endif - /* form status values */ #define _OVLMODE (0x04) /* Form is in overlay mode */ #define _WINDOW_MODIFIED (0x10) /* Current field window has been modified */ |