[commit] r7584 - freeswitch/trunk/libs/libedit/src
Author: stkn Date: Mon Feb 11 14:11:24 2008 New Revision: 7584 Modified: freeswitch/trunk/libs/libedit/src/vi.c Log: Resurrect the lost FreeBSD __weak_references fix from the previous libedit version. -This line, and those below, will be ignored-- M vi.c Modified: freeswitch/trunk/libs/libedit/src/vi.c ============================================================================== --- freeswitch/trunk/libs/libedit/src/vi.c (original) +++ freeswitch/trunk/libs/libedit/src/vi.c Mon Feb 11 14:11:24 2008 @@ -915,14 +915,14 @@ * 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;
participants (1)
-
Freeswitch SVN