changeset 105:ac89a106f155

...
author Chris Cannam
date Fri, 05 May 2006 14:04:09 +0000
parents 174d33f28824
children 45175d8c5dc5
files base/System.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/base/System.cpp	Fri May 05 13:31:23 2006 +0000
+++ b/base/System.cpp	Fri May 05 14:04:09 2006 +0000
@@ -27,7 +27,7 @@
 
 void usleep(unsigned long usec)
 {
-    Sleep(usec / 1000);
+    ::Sleep(usec / 1000);
 }
 
 void gettimeofday(struct timeval *tv, void *tz)
@@ -37,7 +37,7 @@
 	FILETIME ft; 
     } now; 
     
-    GetSystemTimeAsFileTime(&now.ft); 
+    ::GetSystemTimeAsFileTime(&now.ft); 
     tv->tv_usec = (long)((now.ns100 / 10LL) % 1000000LL); 
     tv->tv_sec = (long)((now.ns100 - 116444736000000000LL) / 10000000LL); 
 }