]> git.sesse.net Git - vlc/commitdiff
s/if/ifdef/
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 4 Feb 2008 18:40:45 +0000 (18:40 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 4 Feb 2008 18:40:45 +0000 (18:40 +0000)
src/libvlc-common.c

index 807d747b78ac84b34f59ac3c08c4088e5e00cb8c..a0785a78d023027fd403a7f1e837441dc9bde242 100644 (file)
@@ -326,7 +326,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
 #ifndef WIN32
     if( config_GetInt( p_libvlc, "daemon" ) )
     {
-#if HAVE_DAEMON
+#ifdef HAVE_DAEMON
         char *psz_pidfile = NULL;
 
         if( daemon( 1, 0) != 0 )