From 5b4c3aa226dc95f33dc3ffae6669a24f5e8b8fe0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 30 Sep 2014 18:52:34 +0200 Subject: [PATCH] win32_pthread is relevant for both: MSVC & MINGW --- libs/ardour/session_vst.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardour/session_vst.cc b/libs/ardour/session_vst.cc index 508f11df13..95d47afe88 100644 --- a/libs/ardour/session_vst.cc +++ b/libs/ardour/session_vst.cc @@ -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);