Explorar o código

Trying to fix curses problems.

Berk Geveci %!s(int64=24) %!d(string=hai) anos
pai
achega
217081a72b

+ 2 - 3
Source/CursesDialog/form/frm_driver.c

@@ -29,10 +29,9 @@
 /****************************************************************************
  *   Author: Juergen Pfeifer <[email protected]> 1995,1997            *
  ****************************************************************************/
-#ifdef __hpux
- #define _XOPEN_SOURCE_EXTENDED
-#endif /* __hpux */
+#define _XOPEN_SOURCE_EXTENDED
 #include "form.priv.h"
+#undef _XOPEN_SOURCE_EXTENDED
 
 MODULE_ID("$Id$")
 

+ 2 - 3
Source/CursesDialog/form/frm_req_name.c

@@ -35,10 +35,9 @@
 * Routines to handle external names of menu requests                       *
 ***************************************************************************/
 
-#ifdef __hpux
- #define _XOPEN_SOURCE_EXTENDED
-#endif /* __hpux */
+#define _XOPEN_SOURCE_EXTENDED
 #include "form.priv.h"
+#undef _XOPEN_SOURCE_EXTENDED
 
 MODULE_ID("$Id$")