changeset 501:ca208281238b

...
author Chris Cannam
date Thu, 04 Dec 2008 17:15:15 +0000
parents 83eae5239db6
children bd7c46636bd0
files system/System.cpp system/System.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/system/System.cpp	Tue Dec 02 17:17:25 2008 +0000
+++ b/system/System.cpp	Thu Dec 04 17:15:15 2008 +0000
@@ -59,7 +59,7 @@
     ::Sleep(usec / 1000);
 }
 
-void gettimeofday(struct timeval *tv, void *tz)
+int gettimeofday(struct timeval *tv, void *tz)
 {
     union { 
 	long long ns100;  
--- a/system/System.h	Tue Dec 02 17:17:25 2008 +0000
+++ b/system/System.h	Thu Dec 04 17:15:15 2008 +0000
@@ -55,7 +55,7 @@
 
 extern "C" {
 void usleep(unsigned long usec);
-void gettimeofday(struct timeval *p, void *tz);
+int gettimeofday(struct timeval *p, void *tz);
 }
 
 #else