From 94ea65ff4dc3250a90e99c4a27d8595569dd1152 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sat, 7 Apr 2012 19:30:46 -0300 Subject: [PATCH] Fix problem compiling base/thread.cpp in Mac OS X. --- src/base/thread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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