Fix compiling on OS X

This commit is contained in:
Mark Samman 2013-07-28 04:30:52 +02:00
parent 95abf2a1d2
commit 261642190b
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
#include <boost/thread/future.hpp>
// hack to enable std::thread on mingw32 4.6
#if !defined(_GLIBCXX_HAS_GTHREADS) && defined(__GNUG__)
#if !defined(_GLIBCXX_HAS_GTHREADS) && defined(__GNUG__) && !defined(__clang__)
#include <boost/thread/thread.hpp>
#include <boost/thread/mutex.hpp>