[vlc-devel] [RFC PATCH 5/6] android: hack sys/shm.h detection

Thomas Guillem tom at gllm.fr
Wed Oct 8 18:26:08 CEST 2014


---
 include/vlc_fixups.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index e515763..9e5973b 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -357,4 +357,10 @@ long nrand48 (unsigned short subi[3]);
 #define nanf(tagp) NAN
 #endif
 
+#ifdef __ANDROID__
+/* android-L has empty sys/shm.h headers that triggers shm detection but it
+ * doesn't have any shm functions and/or symbols. */
+#undef HAVE_SYS_SHM_H
+#endif
+
 #endif /* !LIBVLC_FIXUPS_H */
-- 
2.1.0




More information about the vlc-devel mailing list