summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-06-30 17:49:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-06-30 17:49:00 (GMT)
commit4ba26894365dc33e6bb59ceea3bd8a0fbe4489e3 (patch)
tree20cf58cfd59ac3d6bc3e81075b10592765faba9d /Source/CursesDialog/form
parent9c76e082150eae48102b537c0f3f8556c18b8616 (diff)
downloadCMake-4ba26894365dc33e6bb59ceea3bd8a0fbe4489e3.zip
CMake-4ba26894365dc33e6bb59ceea3bd8a0fbe4489e3.tar.gz
CMake-4ba26894365dc33e6bb59ceea3bd8a0fbe4489e3.tar.bz2
ENH: merge main tree into branch
Diffstat (limited to 'Source/CursesDialog/form')
-rw-r--r--Source/CursesDialog/form/form.priv.h32
1 files changed, 19 insertions, 13 deletions
diff --git a/Source/CursesDialog/form/form.priv.h b/Source/CursesDialog/form/form.priv.h
index 886121c..3691f2f 100644
--- a/Source/CursesDialog/form/form.priv.h
+++ b/Source/CursesDialog/form/form.priv.h
@@ -33,6 +33,12 @@
#include "mf_common.h"
#include "form.h"
+/* get around odd bug on aCC and itanium */
+#if defined(__hpux) && defined(__ia64)
+#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 */
@@ -41,7 +47,7 @@
/* field status values */
#define _CHANGED (0x01) /* Field has been changed */
#define _NEWTOP (0x02) /* Vertical scrolling occured */
-#define _NEWPAGE (0x04) /* field begins new page of form */
+#define _NEWPAGE (0x04) /* field begins new page of form */
#define _MAY_GROW (0x08) /* dynamic field may still grow */
/* fieldtype status values */
@@ -91,20 +97,20 @@ typedef struct typearg {
#define FIRST_ACTIVE_MAGIC (-291056)
#define ALL_FORM_OPTS ( \
- O_NL_OVERLOAD |\
- O_BS_OVERLOAD )
+ O_NL_OVERLOAD |\
+ O_BS_OVERLOAD )
#define ALL_FIELD_OPTS ( \
- O_VISIBLE |\
- O_ACTIVE |\
- O_PUBLIC |\
- O_EDIT |\
- O_WRAP |\
- O_BLANK |\
- O_AUTOSKIP|\
- O_NULLOK |\
- O_PASSOK |\
- O_STATIC )
+ O_VISIBLE |\
+ O_ACTIVE |\
+ O_PUBLIC |\
+ O_EDIT |\
+ O_WRAP |\
+ O_BLANK |\
+ O_AUTOSKIP|\
+ O_NULLOK |\
+ O_PASSOK |\
+ O_STATIC )
#define C_BLANK ' '