X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_interface.h;h=2e02f6baa604a903f50ffda753df8ba00758c1bb;hb=2344ab6ae1f2db7e1c079edeecaec410ad52b119;hp=55cebe696eb4d6c8c11564101eff9c45f16a5b73;hpb=bfb235db9ab12ae930497e0e55bd13a625a94fcf;p=vlc diff --git a/include/vlc_interface.h b/include/vlc_interface.h index 55cebe696e..2e02f6baa6 100644 --- a/include/vlc_interface.h +++ b/include/vlc_interface.h @@ -114,7 +114,7 @@ VLC_API void libvlc_Quit( libvlc_int_t * ); *****************************************************************************/ #if defined( WIN32 ) && !defined( UNDER_CE ) # define CONSOLE_INTRO_MSG \ - if( !getenv( "PWD" ) || !getenv( "PS1" ) ) /* detect cygwin shell */ \ + if( !getenv( "PWD" ) ) /* detect Cygwin shell or Wine */ \ { \ AllocConsole(); \ freopen( "CONOUT$", "w", stdout ); \ @@ -128,7 +128,7 @@ VLC_API void libvlc_Quit( libvlc_int_t * ); "directory where you installed VLC and run " \ "\"vlc -I qt\"\n") ) #else -# define CONSOLE_INTRO_MSG +# define CONSOLE_INTRO_MSG (void)0 #endif /* Interface dialog ids for dialog providers */