Fix mingw build (GCC 3.4.4)

This commit is contained in:
Stas Degteff 2008-11-16 23:36:12 +00:00
parent 78800714b0
commit d53d9dbf5d

View File

@ -207,7 +207,7 @@ inline time32_t gmktime(struct tm *timep)
#if defined(__OS2__)
inline void usleep(long duration) { DosSleep(duration); }
#elif defined(__MINGW32__) || defined(_MSC_VER)
#elif (defined(__MINGW32__) && __GNUC__*100+__GNUC_MINOR__ < 304) || defined(_MSC_VER)
inline void usleep(long duration) { Sleep(duration); }
#endif