Mercurial > vanilla
comparison lib/libedit/clang.patch @ 392:8017138b628e
lib: convert packages to clang
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 02 Apr 2019 20:01:00 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
391:bdad6c7981e7 | 392:8017138b628e |
---|---|
1 --- src/chartype.h.orig 2019-04-02 14:07:48.072839008 +0200 | |
2 +++ src/chartype.h 2019-04-02 14:08:17.924144370 +0200 | |
3 @@ -29,24 +29,6 @@ | |
4 #ifndef _h_chartype_f | |
5 #define _h_chartype_f | |
6 | |
7 -/* Ideally we should also test the value of the define to see if it | |
8 - * supports non-BMP code points without requiring UTF-16, but nothing | |
9 - * seems to actually advertise this properly, despite Unicode 3.1 having | |
10 - * been around since 2001... */ | |
11 -#if !defined(__NetBSD__) && \ | |
12 - !defined(__sun) && \ | |
13 - !(defined(__APPLE__) && defined(__MACH__)) && \ | |
14 - !defined(__OpenBSD__) && \ | |
15 - !defined(__FreeBSD__) && \ | |
16 - !defined(__DragonFly__) | |
17 -#ifndef __STDC_ISO_10646__ | |
18 -/* In many places it is assumed that the first 127 code points are ASCII | |
19 - * compatible, so ensure wchar_t indeed does ISO 10646 and not some other | |
20 - * funky encoding that could break us in weird and wonderful ways. */ | |
21 - #error wchar_t must store ISO 10646 characters | |
22 -#endif | |
23 -#endif | |
24 - | |
25 /* Oh for a <uchar.h> with char32_t and __STDC_UTF_32__ in it... | |
26 * ref: ISO/IEC DTR 19769 | |
27 */ |