Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit Use the same hack for Solaris and MacOS/X. This ...



details:   https://anonhg.NetBSD.org/src/rev/a05bc7d1cf84
branches:  trunk
changeset: 754095:a05bc7d1cf84
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 20 02:01:13 2010 +0000

description:
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:

 lib/libedit/chartype.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ad500177f967 -r a05bc7d1cf84 lib/libedit/chartype.h
--- a/lib/libedit/chartype.h    Mon Apr 19 21:58:58 2010 +0000
+++ b/lib/libedit/chartype.h    Tue Apr 20 02:01:13 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index