summaryrefslogtreecommitdiff
path: root/libs/ardour/session_vst.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-09-30 18:52:34 +0200
committerRobin Gareus <robin@gareus.org>2014-09-30 19:08:16 +0200
commit5b4c3aa226dc95f33dc3ffae6669a24f5e8b8fe0 (patch)
treeaa7c0360144a30848546c61501cddccb5b2669a1 /libs/ardour/session_vst.cc
parent1bde96be0989d3c4b17aab8910f621748270c9a2 (diff)
win32_pthread is relevant for both: MSVC & MINGW
Diffstat (limited to 'libs/ardour/session_vst.cc')
-rw-r--r--libs/ardour/session_vst.cc4
1 files 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);