[vlc-devel] commit: Win32: show the console (early) in debug builds ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Aug 25 18:38:42 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Aug 14 22:34:29 2008 +0300| [079a3e8fdd56ea1304471298d164bec5ec7f3af8] | committer: Rémi Denis-Courmont 

Win32: show the console (early) in debug builds

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=079a3e8fdd56ea1304471298d164bec5ec7f3af8
---

 src/libvlc.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 96cab09..0726010 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -268,6 +268,10 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
 #endif
 #endif
 
+#if defined (WIN32) && !defined (NDEBUG)
+    ShowConsole (true);
+#endif
+
     /* System specific initialization code */
     system_Init( p_libvlc, &i_argc, ppsz_argv );
 




More information about the vlc-devel mailing list