[Freeswitch-svn] [commit] r7725 - freeswitch/trunk/libs/libedit/src
Freeswitch SVN
mikej at freeswitch.org
Fri Feb 22 17:27:28 EST 2008
Author: mikej
Date: Fri Feb 22 17:27:27 2008
New Revision: 7725
Modified:
freeswitch/trunk/libs/libedit/src/unvis.c
freeswitch/trunk/libs/libedit/src/vis.c
Log:
more freebsd vs weakalias fun
Modified: freeswitch/trunk/libs/libedit/src/unvis.c
==============================================================================
--- freeswitch/trunk/libs/libedit/src/unvis.c (original)
+++ freeswitch/trunk/libs/libedit/src/unvis.c Fri Feb 22 17:27:27 2008
@@ -45,7 +45,7 @@
#include <stdio.h>
#include <vis.h>
-#ifdef __weak_alias
+#if defined(__weak_reference) && !defined(__FreeBSD__)
__weak_alias(strunvis,_strunvis)
#endif
Modified: freeswitch/trunk/libs/libedit/src/vis.c
==============================================================================
--- freeswitch/trunk/libs/libedit/src/vis.c (original)
+++ freeswitch/trunk/libs/libedit/src/vis.c Fri Feb 22 17:27:27 2008
@@ -88,7 +88,7 @@
#include <vis.h>
#include <stdlib.h>
-#ifdef __weak_alias
+#if defined(__weak_reference) && !defined(__FreeBSD__)
__weak_alias(strsvis,_strsvis)
__weak_alias(strsvisx,_strsvisx)
__weak_alias(strvis,_strvis)
More information about the Freeswitch-svn
mailing list