win32_pthread is relevant for both: MSVC & MINGW
authorRobin Gareus <robin@gareus.org>
Tue, 30 Sep 2014 16:52:34 +0000 (18:52 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 30 Sep 2014 17:08:16 +0000 (19:08 +0200)
libs/ardour/session_vst.cc

index 508f11df138ccbc09dec97aae87ebd259ccecd9e..95d47afe88433d4089ca6ee8fd5182b960ecbdab 100644 (file)
@@ -79,7 +79,7 @@ intptr_t Session::vst_callback (
        if (effect && effect->user) {
                plug = (VSTPlugin *) (effect->user);
                session = &plug->session();
-#ifdef COMPILER_MSVC
+#ifdef PLATFORM_WINDOWS
                SHOW_CALLBACK ("am callback 0x%x, opcode = %d, plugin = \"%s\" ", (int) pthread_self().p, opcode, plug->name());
 #else
                SHOW_CALLBACK ("am callback 0x%x, opcode = %d, plugin = \"%s\" ", (int) pthread_self(), opcode, plug->name());
@@ -87,7 +87,7 @@ intptr_t Session::vst_callback (
        } else {
                plug = 0;
                session = 0;
-#ifdef COMPILER_MSVC
+#ifdef PLATFORM_WINDOWS
                SHOW_CALLBACK ("am callback 0x%x, opcode = %d", (int) pthread_self().p, opcode);
 #else
                SHOW_CALLBACK ("am callback 0x%x, opcode = %d", (int) pthread_self(), opcode);