summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorBerk Geveci <berk.geveci@kitware.com>2001-11-08 22:30:18 (GMT)
committerBerk Geveci <berk.geveci@kitware.com>2001-11-08 22:30:18 (GMT)
commit438676de38b7da1d94a9e036e02016d2d72b1de8 (patch)
tree8ff7c57179f3766b25774180763a968096e0493a /Source/CursesDialog
parent3482e716c36edf4eed9b66951c2ca81f2a77773e (diff)
downloadCMake-438676de38b7da1d94a9e036e02016d2d72b1de8.zip
CMake-438676de38b7da1d94a9e036e02016d2d72b1de8.tar.gz
CMake-438676de38b7da1d94a9e036e02016d2d72b1de8.tar.bz2
Trying to fix curses problems.
Diffstat (limited to 'Source/CursesDialog')
-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