Changeset 755 for trunk/src/sed/lib


Ignore:
Timestamp:
Jan 7, 2007, 11:24:33 AM (19 years ago)
Author:
bird
Message:

Work around kLIBC setlocal bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sed/lib/regex_internal.h

    r712 r755  
    8585
    8686#if (defined MB_CUR_MAX && HAVE_LOCALE_H && HAVE_WCTYPE_H && HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_MBRTOWC && HAVE_WCSCOLL) || _LIBC
     87# if defined(__OS2__) /* setlocale() misbehaves in LIBC 0.6.1 and earlier, breaking /[a-z]/. */
     88#  if defined(__KLIBC_VERSION__)
     89#   if __KLIBC_VERSION__ >= 0x00060002
     90#    define RE_ENABLE_I18N
     91#   endif
     92#  endif
     93# else
    8794# define RE_ENABLE_I18N
     95# endif
    8896#endif
    8997
Note: See TracChangeset for help on using the changeset viewer.