[vlc-devel] [PATCH] Win32: show the console (early) in debug builds
Rémi Denis-Courmont
rem at videolan.org
Thu Aug 14 21:35:59 CEST 2008
---
src/libvlc.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index 9673a5c..e19a457 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -272,6 +272,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 );
--
1.5.6.3
--
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary
More information about the vlc-devel
mailing list