patch-cmd-line-utils_libedit_chartype_h 987 B

12345678910111213141516171819202122
  1. --- mysql-5.6.17.orig/cmd-line-utils/libedit/chartype.h 2014-03-14 20:07:26.000000000 +0100
  2. +++ mysql-5.6.17/cmd-line-utils/libedit/chartype.h 2014-04-05 06:38:33.000000000 +0200
  3. @@ -45,19 +45,6 @@
  4. * seems to actually advertise this properly, despite Unicode 3.1 having
  5. * been around since 2001... */
  6. -/* XXXMYSQL : Added FreeBSD & AIX to bypass this check.
  7. - TODO : Verify if FreeBSD & AIX stores ISO 10646 in wchar_t. */
  8. -#if !defined(__NetBSD__) && !defined(__sun) \
  9. - && !(defined(__APPLE__) && defined(__MACH__)) \
  10. - && !defined(__FreeBSD__) && !defined(_AIX)
  11. -#ifndef __STDC_ISO_10646__
  12. -/* In many places it is assumed that the first 127 code points are ASCII
  13. - * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
  14. - * funky encoding that could break us in weird and wonderful ways. */
  15. - #error wchar_t must store ISO 10646 characters
  16. -#endif
  17. -#endif
  18. -
  19. /* Oh for a <uchar.h> with char32_t and __STDC_UTF_32__ in it...
  20. * ref: ISO/IEC DTR 19769
  21. */