Commit d3cb1428 authored by Clément Stenac's avatar Clément Stenac

Don't check syslog value if we don't have syslog.h

parent 8b3a7071
......@@ -780,11 +780,13 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
{
VLC_AddIntf( 0, "logger", VLC_FALSE, VLC_FALSE );
}
#ifdef HAVE_SYSLOG_H
if( config_GetInt( p_vlc, "syslog" ) == 1 )
{
char *psz_logmode = "logmode=syslog";
AddIntfInternal( 0, "logger", VLC_FALSE, VLC_FALSE, 1, &psz_logmode );
}
#endif
if( config_GetInt( p_vlc, "show-intf" ) == 1 )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment