Fix clang building the std headers.

This commit is contained in:
Ryan Houdek 2013-04-18 22:52:05 -05:00
parent d68955c539
commit f811d11863
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
// GCC 4.4 provides <condition_variable>
#include <condition_variable>
#elif __has_include(<condition_variable>)
#elif __has_include(<condition_variable>) && !ANDROID
// clang and libc++ provide <condition_variable> on OSX. However, the version
// of libc++ bundled with OSX 10.7 and 10.8 is buggy: it uses _ as a variable.

View File

@ -12,7 +12,7 @@
#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ && !ANDROID
// GCC 4.4 provides <mutex>
#include <mutex>
#elif __has_include(<mutex>)
#elif __has_include(<mutex>) && !ANDROID
// Clang + libc++
#include <mutex>
#else

View File

@ -15,7 +15,7 @@
#define _GLIBCXX_USE_SCHED_YIELD
#endif
#include <thread>
#elif __has_include(<thread>)
#elif __has_include(<thread>) && !ANDROID
// Clang + libc++
#include <thread>
#else