summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/form
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-03-11 20:25:50 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-03-11 20:25:50 (GMT)
commit0f19623edd23e0cbb4ccfe61d33fc2e72e733958 (patch)
treee94a712b9f2e71fd07e1a39ed7a7ace38a56fa31 /Source/CursesDialog/form
parent729bc4cb6d4b7b0834a6e31aa36fa431f5ab0518 (diff)
downloadCMake-0f19623edd23e0cbb4ccfe61d33fc2e72e733958.zip
CMake-0f19623edd23e0cbb4ccfe61d33fc2e72e733958.tar.gz
CMake-0f19623edd23e0cbb4ccfe61d33fc2e72e733958.tar.bz2
BUG: fixes for hp
Diffstat (limited to 'Source/CursesDialog/form')
-rw-r--r--Source/CursesDialog/form/fld_attr.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/CursesDialog/form/fld_attr.c b/Source/CursesDialog/form/fld_attr.c
index ccf0415..8619588 100644
--- a/Source/CursesDialog/form/fld_attr.c
+++ b/Source/CursesDialog/form/fld_attr.c
@@ -29,8 +29,13 @@
/****************************************************************************
* Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1995,1997 *
****************************************************************************/
-#include "form.priv.h"
-
+#if defined(__hpux)
+ #define _XOPEN_SOURCE_EXTENDED
+#endif
+ #include "form.priv.h"
+#if defined(__hpux)
+ #undef _XOPEN_SOURCE_EXTENDED
+#endif
MODULE_ID("$Id$")
/*----------------------------------------------------------------------------
@@ -50,7 +55,7 @@ int set_field_ ## name (FIELD * field, chtype attr)\
res = _nc_Synchronize_Attributes( field );\
}\
else\
- res = E_OK;\
+ res = E_OK;\
}\
RETURN(res);\
}