[vlc-devel] [PATCH v2 8/9] android: hack sys/shm.h detection for android-L

Thomas Guillem tom at gllm.fr
Thu Oct 9 18:45:26 CEST 2014


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

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index e515763..71afd94 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -357,4 +357,11 @@ long nrand48 (unsigned short subi[3]);
 #define nanf(tagp) NAN
 #endif
 
+#ifdef __ANDROID__
+/* TODO: Check if these hacks are still needed when android-L is released.
+ * 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