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:
@@ -162,8 +162,12 @@ static const struct alias sysdep_aliases[] = {
|
|||||||
};
|
};
|
||||||
#if defined(__GNUC__) && !defined(DEBUG)
|
#if defined(__GNUC__) && !defined(DEBUG)
|
||||||
__inline
|
__inline
|
||||||
|
#else
|
||||||
|
#ifdef __cplusplus
|
||||||
|
inline
|
||||||
#endif
|
#endif
|
||||||
const struct alias *
|
#endif
|
||||||
|
static const struct alias *
|
||||||
aliases2_lookup (register const char *str)
|
aliases2_lookup (register const char *str)
|
||||||
{
|
{
|
||||||
const struct alias * ptr;
|
const struct alias * ptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user