diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 03:10:46 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-10-26 03:10:46 +0000 |
commit | d3b6a0557b8db9df5fd9c27b605ff10e32f2c8a1 (patch) | |
tree | f6cfe2fadbec74eab73e2fe48b337816a78b55cb /japanese/canna-server/files | |
parent | Mark BROKEN on 5.0 (diff) |
Fix build on -current
Submitted by: tjr
Notes
Notes:
svn path=/head/; revision=68852
Diffstat (limited to 'japanese/canna-server/files')
-rw-r--r-- | japanese/canna-server/files/patch-al | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/japanese/canna-server/files/patch-al b/japanese/canna-server/files/patch-al new file mode 100644 index 000000000000..84d0c4172999 --- /dev/null +++ b/japanese/canna-server/files/patch-al @@ -0,0 +1,26 @@ +--- canna/widedef.h.OLD Sat Oct 26 11:59:11 2002 ++++ canna/widedef.h Sat Oct 26 12:04:56 2002 +@@ -35,7 +35,7 @@ + #define WCHAR16 + #endif + +-#if defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(__NetBSD__) + # include <machine/ansi.h> + #endif + +@@ -61,7 +61,13 @@ + #endif /* !nec_ews_svr2 */ + #endif /* HAVE_WCHAR_OPERATION */ + +-#if defined(__FreeBSD__) || defined(__NetBSD__) ++#if defined(__FreeBSD__) ++# ifdef WCHAR16 ++# warning FreeBSD does not use 16-bit wide character types ++# endif ++# include <stddef.h> ++# define _WCHAR_T ++#elif defined(__NetBSD__) + # ifdef _BSD_WCHAR_T_ + # undef _BSD_WCHAR_T_ + # ifdef WCHAR16 |