Mercurial > hg > svcore
comparison system/System.cpp @ 501:ca208281238b
...
author | Chris Cannam |
---|---|
date | Thu, 04 Dec 2008 17:15:15 +0000 |
parents | cff476cfce77 |
children | d3faa6447c5b |
comparison
equal
deleted
inserted
replaced
500:83eae5239db6 | 501:ca208281238b |
---|---|
57 void usleep(unsigned long usec) | 57 void usleep(unsigned long usec) |
58 { | 58 { |
59 ::Sleep(usec / 1000); | 59 ::Sleep(usec / 1000); |
60 } | 60 } |
61 | 61 |
62 void gettimeofday(struct timeval *tv, void *tz) | 62 int gettimeofday(struct timeval *tv, void *tz) |
63 { | 63 { |
64 union { | 64 union { |
65 long long ns100; | 65 long long ns100; |
66 FILETIME ft; | 66 FILETIME ft; |
67 } now; | 67 } now; |