[vlc-devel] [PATCH 10/13] vlc_fixups: fix tdestroy declaration

Rémi Denis-Courmont remi at remlab.net
Tue Oct 2 12:00:02 CEST 2018


Ugly hack, no.

Le 2 octobre 2018 12:14:33 GMT+03:00, Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> a écrit :
>Fixes android NDK 17 build
>---
> include/vlc_fixups.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
>index 5dda6ba35c..6ce86ef848 100644
>--- a/include/vlc_fixups.h
>+++ b/include/vlc_fixups.h
>@@ -487,7 +487,7 @@ void *tfind( const void *key, const void **rootp,
>int(*cmp)(const void *, const
>void *tdelete( const void *key, void **rootp, int(*cmp)(const void *,
>const void *) );
>void twalk( const void *root, void(*action)(const void *nodep, VISIT
>which, int depth) );
> #endif /* HAVE_SEARCH_H */
>-#ifndef HAVE_TDESTROY
>+#if !defined(HAVE_TDESTROY) || defined(__ANDROID__)
> void tdestroy( void *root, void (*free_node)(void *nodep) );
> #endif
> 
>-- 
>2.19.0
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20181002/7faed35f/attachment.html>


More information about the vlc-devel mailing list