[vlc-devel] [PATCH V3 1/7] vlc_common: implement VLC_WEAK for MACH-O

Rémi Denis-Courmont remi at remlab.net
Tue Jan 22 16:45:01 CET 2019


Le tiistaina 22. tammikuuta 2019, 15.30.05 EET Thomas Guillem a écrit :
> ---
>  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
>  /**

Obviously correct but I don't know if Hugo still has a beef with it.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list