Commit 5547aa24 authored by Antoine Cellerier's avatar Antoine Cellerier Committed by Jean-Baptiste Kempf

Fix --file-logging on windows (that was stupid...)

(cherry picked from commit ad3507aa)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2f6edbec
......@@ -665,8 +665,11 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
# endif
#endif
if( var_InheritBool( p_libvlc, "file-logging" ) &&
!var_InheritBool( p_libvlc, "syslog" ) )
if( var_InheritBool( p_libvlc, "file-logging" )
#ifdef HAVE_SYSLOG_H
&& !var_InheritBool( p_libvlc, "syslog" )
#endif
)
{
intf_Create( p_libvlc, "logger,none" );
}
......
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