If ardour is launched from a terminal, stdout/stderr works since
9988f661f. Further, the debug-version comes packaged with gdb and
a has a start-menu shortcut for it. There is no need to implicitly
always show a console even for debug builds.
#endif
-#if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS && defined NDEBUG)
+#if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS)
static bool IsAConsolePort (HANDLE handle)
{
DWORD mode;
gtk_set_locale ();
#endif
-#if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS && defined NDEBUG)
+#if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS)
/* re-attach to the console so we can see 'printf()' output etc.
* for MSVC see gtk2_ardour/msvc/winmain.cc
*/
ARDOUR::cleanup ();
pthread_cancel_all ();
-#if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS && defined NDEBUG)
+#if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS)
if (pStdOut) {
fclose (pStdOut);
}
obj.includes += ['../libs']
if bld.env['build_target'] == 'mingw':
- if bld.env['DEBUG'] == False:
- obj.linkflags = ['-mwindows']
+ obj.linkflags = ['-mwindows']
if bld.is_defined('HAVE_SUIL'):
obj.source += [ 'lv2_plugin_ui.cc' ]