summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CursesDialog/form/frm_driver.c4
-rw-r--r--Source/CursesDialog/form/frm_req_name.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/Source/CursesDialog/form/frm_driver.c b/Source/CursesDialog/form/frm_driver.c
index f85dce3..f80b9a4 100644
--- a/Source/CursesDialog/form/frm_driver.c
+++ b/Source/CursesDialog/form/frm_driver.c
@@ -30,7 +30,9 @@
* Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 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 bb55ab9..6190c4b 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