Merge branch 'master' into cairocanvas
[ardour.git] / libs / ardour / mtc_slave.cc
index 0dee2a071bdd4e3ce5035a25589cde25ee5d8009..1a1c5f2becfe8a5a510b5442783b98360c1f5ea4 100644 (file)
@@ -309,11 +309,7 @@ MTC_Slave::update_mtc_time (const MIDI::byte *msg, bool was_full, framepos_t now
           to use a timestamp indicating when this MTC time was received. example: when we received
           a locate command via MMC.
        */
-#ifdef COMPILER_MSVC
-       DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", ::pthread_self().p));
-#else
-       DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", ::pthread_self()));
-#endif
+       DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", pthread_name()));
        TimecodeFormat tc_format;
        bool reset_tc = true;