undef __weak_reference on freebsd since its different

This commit is contained in:
Love Hornquist Astrand
2011-04-25 13:33:01 -07:00
parent 074a30618f
commit e062131344

View File

@@ -918,6 +918,7 @@ vi_comment_out(EditLine *el, Int c)
* NB: posix implies that we should enter insert mode, however
* this is against historical precedent...
*/
#undef __weak_reference /* __weak_reference is different on freebsd */
#ifdef __weak_reference
__weakref_visible char *my_get_alias_text(const char *)
__weak_reference(get_alias_text);