wcwidth: check a macro version of wcwidth () as well
commitec285472ea54acd77f5a98c8e5b865cd55954d3c
authorKO Myung-Hun <komh@chollian.net>
Fri, 6 Oct 2017 13:06:55 +0000 (6 22:06 +0900)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2017 07:17:33 +0000 (7 09:17 +0200)
treea1fc7a358c9933e570deb5ff966579db17656458
parent66a99150e921aac152b8d748d19bfed43fcb4e58
wcwidth: check a macro version of wcwidth () as well

Check the functionality of a macro version wcwidth () as well as a
real function.

This is better than undefining wcwidth on OS/2 kLIBC without functional
check.

* lib/wchar.in.h: Revert commit caee51.
* m4/wcwidth.m4 (gl_cv_func_wcwidth_macro): Check if wcwidth () is a
macro.
ChangeLog
lib/wchar.in.h
m4/wcwidth.m4