summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form/form.priv.h
diff options
context:
space:
mode:
authorÅdne Hovda <ahovda@openit.com>2014-11-18 09:04:30 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-18 15:02:33 (GMT)
commit44f02b42fb3b2278fdf8e9bd450c3f01573d1e3e (patch)
treea39f9386810fd068a532f4779492fc7eee54eed3 /Source/CursesDialog/form/form.priv.h
parentee3d06a41ec6b5355083a3eba36cf73a5438c1c5 (diff)
downloadCMake-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.h6
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 */