diff --git a/src/base/thread.cpp b/src/base/thread.cpp index 254bf2612..56bc82a3f 100644 --- a/src/base/thread.cpp +++ b/src/base/thread.cpp @@ -15,9 +15,8 @@ #include // Use pthread library in Unix-like systems #endif -#if defined(HAVE_SCHED_YIELD) && defined(_POSIX_PRIORITY_SCHEDULING) +#if !defined(WIN32) #include -#elif !defined(WIN32) #include #endif