diff options
author | Michael Widenius <monty@askmonty.org> | 2009-12-01 18:09:02 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2009-12-01 18:09:02 +0200 |
commit | 27f4f67bd2f35bf710f1a4e4ddde0e42738a195d (patch) | |
tree | 4d1dca11a3163a8f4fee516cd45895ef117255e0 /cmd-line-utils | |
parent | 55d0b6cc6fa4216192f29a55a93188bd0fbb2e02 (diff) | |
download | mariadb-git-27f4f67bd2f35bf710f1a4e4ddde0e42738a195d.tar.gz |
Fixed link problem when compiling without uca
cmd-line-utils/readline/config_readline.h:
Add back defines needed for linux to get rid of compiler warnings, but hide them for now until we have a solution for compile failure on MacOSX
strings/ctype-uca.c:
Always define UCA contraction functions used by ctype-mb.c
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/readline/config_readline.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd-line-utils/readline/config_readline.h b/cmd-line-utils/readline/config_readline.h index 141989ec3c9..9aa464958bb 100644 --- a/cmd-line-utils/readline/config_readline.h +++ b/cmd-line-utils/readline/config_readline.h @@ -7,6 +7,13 @@ # include <config.h> #endif +#ifdef NOT_YET /* causes problem on MacOSX */ +/* to get wcwidth() defined */ +#define _XOPEN_SOURCE 600 +#define _XOPEN_SOURCE_EXTENDED +#define _XOPEN_ +#endif + /* Ultrix botches type-ahead when switching from canonical to non-canonical mode, at least through version 4.3 |