Module Name:    src
Committed By:   christos
Date:           Tue Apr 20 02:01:13 UTC 2010

Modified Files:
        src/lib/libedit: chartype.h

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libedit/chartype.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libedit/chartype.h
diff -u src/lib/libedit/chartype.h:1.5 src/lib/libedit/chartype.h:1.6
--- src/lib/libedit/chartype.h:1.5	Wed Apr 14 20:55:57 2010
+++ src/lib/libedit/chartype.h	Mon Apr 19 22:01:13 2010
@@ -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

Reply via email to