diff options
author | Robin Gareus <robin@gareus.org> | 2015-01-06 02:07:58 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-01-06 02:07:58 +0100 |
commit | 946e63a2764d72b4699689fc495d2ba0f9c8f119 (patch) | |
tree | 013d3d76011672e11943ac21e9ee4b1839aabde7 /gtk2_ardour/main.cc | |
parent | 9988f661fad12a526923af485f49d2fd685782e1 (diff) |
never show windows console.
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.
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index 7e7d3a0c35..26331027d6 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -148,7 +148,7 @@ sigpipe_handler (int /*signal*/) #endif -#if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS && defined NDEBUG) +#if (!defined COMPILER_MSVC && defined PLATFORM_WINDOWS) static bool IsAConsolePort (HANDLE handle) { DWORD mode; @@ -192,7 +192,7 @@ int main (int argc, char *argv[]) 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 */ @@ -310,7 +310,7 @@ int main (int argc, char *argv[]) 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); } |