summaryrefslogtreecommitdiff
path: root/libs/ardour/worker.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-08-04 15:36:07 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-08-04 15:36:07 +0100
commit490311bc081b12d328e6e02cac8170538e96fb2f (patch)
tree6a938f2619d21a1f669b855f41ea4e6a4fbfcd0b /libs/ardour/worker.cc
parent07d94b9b4868fad26c9e8ac2ae4901849a09b8ac (diff)
'libs/ardour' - Main body of changes required for building with MSVC
Diffstat (limited to 'libs/ardour/worker.cc')
-rw-r--r--libs/ardour/worker.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/worker.cc b/libs/ardour/worker.cc
index b13398c69d..d5238adb60 100644
--- a/libs/ardour/worker.cc
+++ b/libs/ardour/worker.cc
@@ -23,6 +23,8 @@
#include "ardour/worker.h"
#include "pbd/error.h"
+#include <glibmm/timer.h>
+
namespace ARDOUR {
Worker::Worker(Workee* workee, uint32_t ring_size)
@@ -128,7 +130,7 @@ Worker::run()
continue;
}
while (!verify_message_completeness(_requests)) {
- ::usleep(2000);
+ Glib::usleep(2000);
if (_exit) {
return;
}