diff options
| author | christos <christos@NetBSD.org> | 2010-04-20 02:01:13 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2010-04-20 02:01:13 +0000 |
| commit | ca8b6091c1ea802eb135fc6c737290cc71617742 (patch) | |
| tree | 201a882cfe19c4c6665ac22b89e7e8f7f92806bc /lib/libedit | |
| parent | a9afbf298d1128aa8c9fb0868c9db0f9a1638ee9 (diff) | |
Use the same hack for Solaris and MacOS/X. This is not right, we only really
support UTF-8, but it will get us going until this is fixed properly.
From Jess Thrysoee
Diffstat (limited to 'lib/libedit')
| -rw-r--r-- | lib/libedit/chartype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/chartype.h b/lib/libedit/chartype.h index 23352350a58..f5440b4fd8d 100644 --- a/lib/libedit/chartype.h +++ b/lib/libedit/chartype.h @@ -1,4 +1,4 @@ -/* $NetBSD: chartype.h,v 1.5 2010/04/15 00:55:57 christos Exp $ */ +/* $NetBSD: chartype.h,v 1.6 2010/04/20 02:01:13 christos Exp $ */ /*- * Copyright (c) 2009 The NetBSD Foundation, Inc. @@ -44,7 +44,7 @@ * supports non-BMP code points without requiring UTF-16, but nothing * seems to actually advertise this properly, despite Unicode 3.1 having * been around since 2001... */ -#ifndef __NetBSD__ +#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) #ifndef __STDC_ISO_10646__ /* In many places it is assumed that the first 127 code points are ASCII * compatible, so ensure wchar_t indeed does ISO 10646 and not some other |
