From: Jim Meyering Date: Tue, 4 Jul 2000 17:31:56 +0000 (+0000) Subject: Make inclusion of independent of whether X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38254f7f04c579aca3f488adbe75f734a7ea015f;p=pspp Make inclusion of independent of whether HAVE_MBRTOWC is set. Required at least for irix-5.6, which lacks mbrtowc. --- diff --git a/lib/quotearg.c b/lib/quotearg.c index 902192e701..553a0f0c38 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -58,8 +58,11 @@ # include #endif -#if HAVE_MBRTOWC && HAVE_WCHAR_H +#if HAVE_WCHAR_H # include +#endif + +#if HAVE_MBRTOWC && HAVE_WCHAR_H # if !HAVE_MBSTATE_T_OBJECT # define mbrtowc(pwc, s, n, ps) (mbrtowc) (pwc, s, n, 0) # endif