diff options
author | unknown <kent.boortz@sun.com> | 2009-02-14 01:43:21 +0100 |
---|---|---|
committer | MySQL Build Team <build@mysql.com> | 2009-02-14 01:43:21 +0100 |
commit | 60f7f87abba10cee407e866356ea0f6f145052ba (patch) | |
tree | 97f1691bcb72ba474652aeede2f9991d15f3c9b4 /cmd-line-utils | |
parent | 018624301cb85418a09b63cff131eae2a695e1a1 (diff) | |
download | mariadb-git-60f7f87abba10cee407e866356ea0f6f145052ba.tar.gz |
Disabled libedit use of '__weak_reference' on FreeBSD, doesn't compile
Diffstat (limited to 'cmd-line-utils')
-rw-r--r-- | cmd-line-utils/libedit/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-line-utils/libedit/vi.c b/cmd-line-utils/libedit/vi.c index 602383f3231..00a9f493a9b 100644 --- a/cmd-line-utils/libedit/vi.c +++ b/cmd-line-utils/libedit/vi.c @@ -914,14 +914,14 @@ vi_comment_out(EditLine *el, int c) * NB: posix implies that we should enter insert mode, however * this is against historical precedent... */ -#ifdef __weak_reference +#if defined(__weak_reference) && !defined(__FreeBSD__) extern char *get_alias_text(const char *) __weak_reference(get_alias_text); #endif protected el_action_t /*ARGSUSED*/ vi_alias(EditLine *el, int c) { -#ifdef __weak_reference +#if defined(__weak_reference) && !defined(__FreeBSD__) char alias_name[3]; char *alias_text; |