mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Disabled libedit use of '__weak_reference' on FreeBSD, doesn't compile
This commit is contained in:
parent
018624301c
commit
60f7f87abb
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue