Fix mingw build (GCC 3.4.4)
This commit is contained in:
parent
78800714b0
commit
d53d9dbf5d
@ -207,7 +207,7 @@ inline time32_t gmktime(struct tm *timep)
|
|||||||
|
|
||||||
#if defined(__OS2__)
|
#if defined(__OS2__)
|
||||||
inline void usleep(long duration) { DosSleep(duration); }
|
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); }
|
inline void usleep(long duration) { Sleep(duration); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user