iconv: Fix the build on GCC6+.
Patch from http://git.savannah.gnu.org/gitweb/?p=libiconv.git;a=commit;h=b29089d8b43abc8fba073da7e6dccaeba56b2b70 to fix an "undefined reference" error to that function (https://savannah.gnu.org/bugs/?47953).
This commit is contained in:
parent
71819cc094
commit
39f5d71fe4
@ -162,8 +162,12 @@ static const struct alias sysdep_aliases[] = {
|
||||
};
|
||||
#if defined(__GNUC__) && !defined(DEBUG)
|
||||
__inline
|
||||
#else
|
||||
#ifdef __cplusplus
|
||||
inline
|
||||
#endif
|
||||
const struct alias *
|
||||
#endif
|
||||
static const struct alias *
|
||||
aliases2_lookup (register const char *str)
|
||||
{
|
||||
const struct alias * ptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user