Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix clang building the std headers.
  • Loading branch information
Sonicadvance1 committed Apr 19, 2013
1 parent d68955c commit f811d11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/Core/Common/Src/StdConditionVariable.h
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Common/Src/StdMutex.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Common/Src/StdThread.h
Expand Up @@ -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
Expand Down

0 comments on commit f811d11

Please sign in to comment.