Win32: show the console (early) in debug builds
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 14 Aug 2008 19:34:29 +0000 (22:34 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 25 Aug 2008 16:41:45 +0000 (19:41 +0300)
src/libvlc.c

index 96cab09..0726010 100644 (file)
@@ -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 );