summaryrefslogtreecommitdiff
path: root/headless
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-03-04 15:25:58 +0100
committerRobin Gareus <robin@gareus.org>2014-03-04 15:25:58 +0100
commit912f07b919c1ec44f0cdd5278d74a9bc29b91846 (patch)
tree1cd5f158ada5e8b9b73cf0d52ca5f9fa430c1fe9 /headless
parent3e250d5f0649256c8e4c7c53da4f67383dd52f78 (diff)
mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)
Diffstat (limited to 'headless')
-rw-r--r--headless/load_session.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/headless/load_session.cc b/headless/load_session.cc
index 20c83ed628..dc2644c428 100644
--- a/headless/load_session.cc
+++ b/headless/load_session.cc
@@ -16,6 +16,10 @@ using namespace std;
using namespace ARDOUR;
using namespace PBD;
+#ifdef PLATFORM_WINDOWS
+#define sleep(X) Sleep((X) * 1000)
+#endif
+
static const char* localedir = LOCALEDIR;
TestReceiver test_receiver;