From 438676de38b7da1d94a9e036e02016d2d72b1de8 Mon Sep 17 00:00:00 2001 From: Berk Geveci Date: Thu, 8 Nov 2001 17:30:18 -0500 Subject: [PATCH] Trying to fix curses problems. --- Source/CursesDialog/form/frm_driver.c | 4 +++- Source/CursesDialog/form/frm_req_name.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/CursesDialog/form/frm_driver.c b/Source/CursesDialog/form/frm_driver.c index f85dce3e3..f80b9a47a 100644 --- a/Source/CursesDialog/form/frm_driver.c +++ b/Source/CursesDialog/form/frm_driver.c @@ -30,7 +30,9 @@ * Author: Juergen Pfeifer 1995,1997 * ****************************************************************************/ #define _XOPEN_SOURCE_EXTENDED -#define _WCHAR_T +#ifdef __FreeBSD__ + #define _WCHAR_T +#endif /* __FreeBSD__ */ #include "form.priv.h" #undef _XOPEN_SOURCE_EXTENDED diff --git a/Source/CursesDialog/form/frm_req_name.c b/Source/CursesDialog/form/frm_req_name.c index bb55ab90f..6190c4be4 100644 --- a/Source/CursesDialog/form/frm_req_name.c +++ b/Source/CursesDialog/form/frm_req_name.c @@ -36,7 +36,9 @@ ***************************************************************************/ #define _XOPEN_SOURCE_EXTENDED -#define _WCHAR_T +#ifdef __FreeBSD__ + #define _WCHAR_T +#endif /* __FreeBSD__ */ #include "form.priv.h" #undef _XOPEN_SOURCE_EXTENDED