]> Savannah Git Hosting - gnulib.git/commit
wchar: fix "conflicting types" error for __wcwidth on OS/2 kLIBC
authorKO Myung-Hun <komh78@gmail.com>
Thu, 14 Jan 2016 02:23:45 +0000 (11:23 +0900)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jan 2016 00:45:38 +0000 (16:45 -0800)
commitcaee51552362732c46f16a7a50ee3d54e4d37eaa
treed39b16a3befcbd81bf8017f18476c518dfe67fdc
parentef179418b00da18ff768824812c18fe4318a4f29
wchar: fix "conflicting types" error for __wcwidth on OS/2 kLIBC

On OS/2 kLIBC, wcwidth is a macro that expands to the name of a
static inline function.  The implementation of wcwidth in wcwidth.c
causes a "conflicting types" error.
* lib/wchar.in.h: Undefine wcwidth on OS/2 kLIBC.
lib/wchar.in.h