From d3cb1428d24102d185e4a0a3c8d6c6cd86ae66d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cl=C3=A9ment=20Stenac?= Date: Sat, 28 Jan 2006 22:31:23 +0000 Subject: [PATCH] Don't check syslog value if we don't have syslog.h --- src/libvlc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libvlc.c b/src/libvlc.c index b09edba64d..0143c898f5 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -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 ) { -- 2.39.2