argp: Allow coexistence with strerror_r-posix module.
authorBruno Haible <bruno@clisp.org>
Sun, 29 May 2011 12:57:40 +0000 (14:57 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 29 May 2011 12:57:40 +0000 (14:57 +0200)
commit3f15062a8afd23e32adebb54ebc92fee05011645
treef811c90b4afcd1060680beb410f4b2ed693336e1
parentfdc9e6c9f8cf6afe33a6fa114c536750f16b459b
argp: Allow coexistence with strerror_r-posix module.

* lib/argp-help.c (__argp_failure): If strerror_r is defined as a macro
(either to __xpg_strerror_r by glibc's <string.h> or to rpl_strerror_r
by gnulib's <string.h> replacement), assume it has the POSIX signature,
not the glibc signature.
ChangeLog
lib/argp-help.c