fix: some compiler warning when the #define is not matching.

This commit is contained in:
iceman1001 2017-02-13 11:03:45 +01:00
parent 2839f12e86
commit 4bf036f226

View file

@ -8,7 +8,7 @@
// platform-independant sleep macros
//-----------------------------------------------------------------------------
#ifndef _WIN32
#ifndef __WIN32
#define _POSIX_C_SOURCE 199309L
#include "sleep.h"
@ -24,5 +24,4 @@ void nsleep(uint64_t n) {
while (nanosleep(&timeout, &timeout) && errno == EINTR);
}
#endif // _WIN32
#endif // _WIN32