From 4bf036f2261f05fdd01108950e0478b2eef0b718 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 13 Feb 2017 11:03:45 +0100 Subject: [PATCH] fix: some compiler warning when the #define is not matching. --- client/sleep.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client/sleep.c b/client/sleep.c index fe397da9..6b0717c6 100644 --- a/client/sleep.c +++ b/client/sleep.c @@ -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 \ No newline at end of file -- 2.39.2