Actually, don't disable that on Windows

This commit is contained in:
Jonas Kulla 2014-06-12 12:54:10 +02:00
parent aed7ba6672
commit 3ac8f1e8aa
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ struct FPSLimiter
private: private:
void delayTicks(uint64_t ticks) void delayTicks(uint64_t ticks)
{ {
#if defined(HAVE_NANOSLEEP) && !defined(_WIN32) #if defined(HAVE_NANOSLEEP)
struct timespec req; struct timespec req;
uint64_t nsec = ticks / tickFreqNS; uint64_t nsec = ticks / tickFreqNS;
req.tv_sec = nsec / NS_PER_S; req.tv_sec = nsec / NS_PER_S;