changeset 100:2b1a16e38d2d

* couple of changes for win32
author Chris Cannam
date Fri, 05 May 2006 11:35:47 +0000
parents 9a44ccae165c
children ce1d385f4f89
files base/FileReadThread.cpp base/System.h
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/base/FileReadThread.cpp	Fri May 05 11:33:51 2006 +0000
+++ b/base/FileReadThread.cpp	Fri May 05 11:35:47 2006 +0000
@@ -16,6 +16,7 @@
 #include "FileReadThread.h"
 
 #include <iostream>
+#include <unistd.h>
 
 FileReadThread::FileReadThread() :
     m_nextToken(0),
--- a/base/System.h	Fri May 05 11:33:51 2006 +0000
+++ b/base/System.h	Fri May 05 11:35:47 2006 +0000
@@ -34,6 +34,8 @@
 #define PATH_SEPARATOR ';'
 #define DEFAULT_VAMP_PATH "%ProgramFiles%\\Vamp Plugins"
 
+#define usleep(u) Sleep((u)/1000)
+
 extern "C" {
 void gettimeofday(struct timeval *p, void *tz);
 }