xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/libedit/libedit/stdc-predef.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1__STDC_ISO_10646__ is defined in stdc-predef.h
2therefore include it to see if its there on a platform
3
4Upstream-Status: Pending
5Signed-off-by: Khem Raj <raj.khem@gmail.com>
6
7Index: libedit-20160903-3.1/src/chartype.h
8===================================================================
9--- libedit-20160903-3.1.orig/src/chartype.h
10+++ libedit-20160903-3.1/src/chartype.h
11@@ -29,6 +29,7 @@
12 #ifndef _h_chartype_f
13 #define _h_chartype_f
14
15+#include <stdc-predef.h>
16 /* Ideally we should also test the value of the define to see if it
17  * supports non-BMP code points without requiring UTF-16, but nothing
18  * seems to actually advertise this properly, despite Unicode 3.1 having
19