diff options
Diffstat (limited to 'meta/recipes-devtools/libedit/libedit/stdc-predef.patch')
-rw-r--r-- | meta/recipes-devtools/libedit/libedit/stdc-predef.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/libedit/libedit/stdc-predef.patch b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch new file mode 100644 index 0000000000..75ef308fad --- /dev/null +++ b/meta/recipes-devtools/libedit/libedit/stdc-predef.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | __STDC_ISO_10646__ is defined in stdc-predef.h | ||
2 | therefore include it to see if its there on a platform | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | Index: 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 | ||