[vlc-devel] [PATCH] libvlc: daemon() is deprecated on recent OS X
Felix Paul Kühne
fkuehne at videolan.org
Wed Nov 5 20:42:08 CET 2014
> On 05 Nov 2014, at 20:32, Sean McGovern <gseanmcg at gmail.com> wrote:
>
> ---
> src/libvlc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/libvlc.c b/src/libvlc.c
> index 946ce2e..aaadfd1 100644
> --- a/src/libvlc.c
> +++ b/src/libvlc.c
> @@ -196,6 +196,11 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
> return VLC_ENOMOD;
> }
>
> +/* Darwin does have daemon(), but it has been deprecated since OS X 10.5 */
Well, it’s true, that it was deprecated in 2007, but then again, it still works with the latest version of OS X and is therefore just an annoying compiler warning, so IMO, we should continue having this mode enabled on the Mac.
Best regards,
Felix
More information about the vlc-devel
mailing list