summaryrefslogtreecommitdiff
path: root/m4/mbrtowc.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/mbrtowc.m4')
-rw-r--r--m4/mbrtowc.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/mbrtowc.m4 b/m4/mbrtowc.m4
index 640579e611..deb9f06f33 100644
--- a/m4/mbrtowc.m4
+++ b/m4/mbrtowc.m4
@@ -569,10 +569,10 @@ changequote([,])dnl
int
main (void)
{
- return mbrtowc (&wc, "", 0, &mbs) == (size_t) -2;
+ return ! mbrtowc (&wc, "", 0, &mbs) == (size_t) -2;
}]])],
- [gl_cv_func_mbrtowc_empty_input=no],
[gl_cv_func_mbrtowc_empty_input=yes],
+ [gl_cv_func_mbrtowc_empty_input=no],
[:])
])
])