[vlc-commits] vlc_common: implement VLC_WEAK for MACH-O
Thomas Guillem
git at videolan.org
Tue Jan 22 18:56:10 CET 2019
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | 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
/**
More information about the vlc-commits
mailing list