Commit ad3507aa authored by Antoine Cellerier's avatar Antoine Cellerier

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

parent 0013e174
...@@ -662,8 +662,11 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -662,8 +662,11 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
# endif # endif
#endif #endif
if( var_InheritBool( p_libvlc, "file-logging" ) && if( var_InheritBool( p_libvlc, "file-logging" )
!var_InheritBool( p_libvlc, "syslog" ) ) #ifdef HAVE_SYSLOG_H
&& !var_InheritBool( p_libvlc, "syslog" )
#endif
)
{ {
intf_Create( p_libvlc, "logger,none" ); 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