]> sjero.net Git - linphone/commitdiff
fix compilation issue
authorJehan Monnier <jehan.monnier@linphone.org>
Thu, 31 Mar 2011 06:26:03 +0000 (08:26 +0200)
committerJehan Monnier <jehan.monnier@linphone.org>
Thu, 31 Mar 2011 06:26:03 +0000 (08:26 +0200)
coreapi/sal_eXosip2.c

index 4504dcbeaf3c1a565e2be6bf2f12ecf3232752aa..1ab04b835934d79b03ec8aa1533376a77b3c0edc 100644 (file)
@@ -24,9 +24,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "private.h"
 #include "offeranswer.h"
 
+#ifdef ANDROID
 // Necessary to make it linked
 static void for_linker() { eXosip_transport_hook_register(NULL); }
-
+#endif
 static bool_t call_failure(Sal *sal, eXosip_event_t *ev);
 
 static void text_received(Sal *sal, eXosip_event_t *ev);