summaryrefslogtreecommitdiff
path: root/libs/ardour/io.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-08-04 19:03:32 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-08-04 19:03:32 +0100
commit0dc8806ee473f96d1f480f7a50b7a39efaf6d90a (patch)
tree2b82ec97fb14c89fe1316561c950def46e5aa85d /libs/ardour/io.cc
parentd176cbc80476cdc8ca082631efc171ea39116d63 (diff)
'libs/ardour' - Platform specific changes and includes
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r--libs/ardour/io.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc
index 4498e4fbd8..c7bf163d27 100644
--- a/libs/ardour/io.cc
+++ b/libs/ardour/io.cc
@@ -396,7 +396,7 @@ IO::disconnect (void* src)
int
IO::ensure_ports_locked (ChanCount count, bool clear, bool& changed)
{
-#ifndef WIN32
+#ifndef PLATFORM_WINDOWS
assert (!AudioEngine::instance()->process_lock().trylock());
#endif
@@ -469,7 +469,7 @@ IO::ensure_ports_locked (ChanCount count, bool clear, bool& changed)
int
IO::ensure_ports (ChanCount count, bool clear, void* src)
{
-#ifndef WIN32
+#ifndef PLATFORM_WINDOWS
assert (!AudioEngine::instance()->process_lock().trylock());
#endif
@@ -506,7 +506,7 @@ IO::ensure_ports (ChanCount count, bool clear, void* src)
int
IO::ensure_io (ChanCount count, bool clear, void* src)
{
-#ifndef WIN32
+#ifndef PLATFORM_WINDOWS
assert (!AudioEngine::instance()->process_lock().trylock());
#endif