11 lines
816 B
Diff
11 lines
816 B
Diff
--- src/chartype.h.orig 2016-06-21 07:40:21.355084769 +0200
|
|
+++ src/chartype.h 2016-06-21 07:40:54.315758800 +0200
|
|
@@ -33,7 +33,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... */
|
|
-#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
|
|
+#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && (defined(__linux__) && defined(__GLIBC__))
|
|
#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
|