# HG changeset patch # User michael # Date 1082807498 0 # Node ID 66217205fe4eda1b38291a5dd0de8a11d89ee8f7 # Parent 94aa265c18b9f7b57832bbd8025638c32646abc1 cygwin patch by ("Sascha Sommer" ) diff -r 94aa265c18b9 -r 66217205fe4e os_support.c --- a/os_support.c Fri Apr 23 21:02:01 2004 +0000 +++ b/os_support.c Sat Apr 24 11:51:38 2004 +0000 @@ -34,7 +34,7 @@ int64_t av_gettime(void) { #ifdef CONFIG_WIN32 - struct _timeb tb; + struct timeb tb; _ftime(&tb); return ((int64_t)tb.time * int64_t_C(1000) + (int64_t)tb.millitm) * int64_t_C(1000); #else diff -r 94aa265c18b9 -r 66217205fe4e os_support.h --- a/os_support.h Fri Apr 23 21:02:01 2004 +0000 +++ b/os_support.h Sat Apr 24 11:51:38 2004 +0000 @@ -11,7 +11,6 @@ */ #ifdef __MINGW32__ -# undef DATADIR /* clashes with /usr/include/w32api/objidl.h */ __declspec(dllimport) void __stdcall Sleep(unsigned long dwMilliseconds); // # include # define usleep(t) Sleep((t) / 1000)