vlc | branch: master | Thomas Guillem <[email protected]> | Mon Jan 21 17:40:46 
2019 +0100| [599ad7a13d034606059e40d08f9d490ab6b00edd] | committer: Thomas 
Guillem

vlc_common: implement VLC_WEAK for MACH-O

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=599ad7a13d034606059e40d08f9d490ab6b00edd
---

 include/vlc_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index 060630ce50..55866a9067 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -185,7 +185,7 @@
 # define VLC_USED
 #endif
 
-#ifdef __ELF__
+#if defined (__ELF__) || defined (__MACH__)
 # define VLC_WEAK __attribute__((weak))
 #else
 /**

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to