comparison system/System.cpp @ 765:001d77a720ce

MinGW fixes
author Chris Cannam
date Mon, 25 Mar 2013 12:15:07 +0000
parents b4a8d8221eaf
children 1d439494604c
comparison
equal deleted inserted replaced
760:b6bb0ecb7958 765:001d77a720ce
54 54
55 #ifdef _WIN32 55 #ifdef _WIN32
56 56
57 extern "C" { 57 extern "C" {
58 58
59 /* usleep is now in mingw
59 void usleep(unsigned long usec) 60 void usleep(unsigned long usec)
60 { 61 {
61 ::Sleep(usec / 1000); 62 ::Sleep(usec / 1000);
62 } 63 }
64 */
63 65
64 int gettimeofday(struct timeval *tv, void *tz) 66 int gettimeofday(struct timeval *tv, void *tz)
65 { 67 {
66 union { 68 union {
67 long long ns100; 69 long long ns100;