diff options
author | Jonathan Perkin <jperkin@sun.com> | 2009-08-14 17:18:52 +0200 |
---|---|---|
committer | Jonathan Perkin <jperkin@sun.com> | 2009-08-14 17:18:52 +0200 |
commit | 17476e279709f29e0354f8826ff78df4758f80af (patch) | |
tree | 357bfb250262e00ce901f945f167016febe406d1 /cmd-line-utils | |
parent | 27a782f610039fd56ad18e48a46f8bbf7f5e28dd (diff) | |
download | mariadb-git-17476e279709f29e0354f8826ff78df4758f80af.tar.gz |
Build fixes for Windows, AIX, HP/UX and Sun Studio11, from Timothy Smith.
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/readline/util.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cmd-line-utils/readline/util.c b/cmd-line-utils/readline/util.c index 50cfea75cb9..342224facd7 100644 --- a/cmd-line-utils/readline/util.c +++ b/cmd-line-utils/readline/util.c @@ -81,8 +81,13 @@ rl_alphabetic (c) #if defined (HANDLE_MULTIBYTE) int -_rl_walphabetic (wc) - wchar_t wc; +/* + Portability issue with VisualAge C++ Professional / C for AIX Compiler, Version 6: + "util.c", line 84.1: 1506-343 (S) Redeclaration of _rl_walphabetic differs + from previous declaration on line 110 of "rlmbutil.h". + So, put type in the function signature here. +*/ +_rl_walphabetic (wchar_t wc) { int c; |