Index: compat.h =================================================================== --- compat.h (revision 19225) +++ compat.h (working copy) @@ -87,7 +87,7 @@ #define unsetenv(x) 0 #endif -#if defined(__cplusplus) && defined(USING_MINGW) +//#if defined(__cplusplus) && defined(USING_MINGW) /* TODO: most small usleep's in MythTV are just a quick way to perform * a yield() call, those should just be replaced with an actual yield(). * There is a known bug with Win32 yield(), it basically functions as @@ -95,7 +95,7 @@ * Sleep(1), performs an actual yield() to any other thread. * See: http://lists.boost.org/Archives/boost/2003/02/44937.php */ -inline int usleep(unsigned int timeout) +/*inline int usleep(unsigned int timeout) { /* // windows seems to have 1us-resolution timers, @@ -113,10 +113,10 @@ } */ //fallback - Sleep(timeout < 1000 ? 1 : (timeout + 500) / 1000); +/* Sleep(timeout < 1000 ? 1 : (timeout + 500) / 1000); return 0; } -#endif // defined(__cplusplus) && defined(USING_MINGW) +#endif // defined(__cplusplus) && defined(USING_MINGW)*/ #if defined(__cplusplus) && defined(USING_MINGW) inline unsigned sleep(unsigned int x)