From 27f4f67bd2f35bf710f1a4e4ddde0e42738a195d Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Tue, 1 Dec 2009 18:09:02 +0200 Subject: 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 --- cmd-line-utils/readline/config_readline.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cmd-line-utils') 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 #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 -- cgit v1.2.1