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

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Tue Oct 2 11:14:33 CEST 2018


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



More information about the vlc-devel mailing list