X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fregex_internal.h;h=5c07f9366f7230154e64f0ed427790a8ebb2d01e;hb=91562b11acd5306bf0a192e00c167ca6e332690d;hp=a19c9a7fa6b34a86ea52bdd29e51cd869bce5bde;hpb=f7328f9d0aed9f61e4f38b731ac9fa88a3c55622;p=gnulib.git diff --git a/lib/regex_internal.h b/lib/regex_internal.h index a19c9a7fa..5c07f9366 100644 --- a/lib/regex_internal.h +++ b/lib/regex_internal.h @@ -27,8 +27,10 @@ #include #include -#if defined HAVE_LANGINFO_H || defined HAVE_LANGINFO_CODESET || defined _LIBC +#ifdef _LIBC # include +#else +# include "localcharset.h" #endif #if defined HAVE_LOCALE_H || defined _LIBC # include @@ -46,7 +48,7 @@ #endif /* In case that the system doesn't have isblank(). */ -#if !defined _LIBC && !HAVE_DECL_ISBLANK && !defined isblank +#if !defined _LIBC && ! (defined isblank || (HAVE_ISBLANK && HAVE_DECL_ISBLANK)) # define isblank(ch) ((ch) == ' ' || (ch) == '\t') #endif