Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | __STDC_ISO_10646__ is defined in stdc-predef.h |
| 2 | therefore include it to see if its there on a platform |
| 3 | |
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 5 | |
| 6 | Index: libedit-20160903-3.1/src/chartype.h |
| 7 | =================================================================== |
| 8 | --- libedit-20160903-3.1.orig/src/chartype.h |
| 9 | +++ libedit-20160903-3.1/src/chartype.h |
| 10 | @@ -29,6 +29,7 @@ |
| 11 | #ifndef _h_chartype_f |
| 12 | #define _h_chartype_f |
| 13 | |
| 14 | +#include <stdc-predef.h> |
| 15 | /* Ideally we should also test the value of the define to see if it |
| 16 | * supports non-BMP code points without requiring UTF-16, but nothing |
| 17 | * seems to actually advertise this properly, despite Unicode 3.1 having |