[Android] Android NDK now supports full implementations of std::mutex, std::thread, and std::conditional_variable so there is no need to have our own implementations there now.

This commit is contained in:
Ryan Houdek 2013-08-29 22:29:33 -05:00
parent 0df64775ea
commit 8bb16d8e98
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@
#define __has_include(s) 0 #define __has_include(s) 0
#endif #endif
#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ && !ANDROID #if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__
// GCC 4.4 provides <condition_variable> // GCC 4.4 provides <condition_variable>
#include <condition_variable> #include <condition_variable>

View file

@ -9,7 +9,7 @@
#define __has_include(s) 0 #define __has_include(s) 0
#endif #endif
#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ && !ANDROID #if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__
// GCC 4.4 provides <mutex> // GCC 4.4 provides <mutex>
#include <mutex> #include <mutex>
#elif __has_include(<mutex>) && !ANDROID #elif __has_include(<mutex>) && !ANDROID

View file

@ -9,7 +9,7 @@
#define __has_include(s) 0 #define __has_include(s) 0
#endif #endif
#if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__ && !ANDROID #if GCC_VERSION >= GCC_VER(4,4,0) && __GXX_EXPERIMENTAL_CXX0X__
// GCC 4.4 provides <thread> // GCC 4.4 provides <thread>
#ifndef _GLIBCXX_USE_SCHED_YIELD #ifndef _GLIBCXX_USE_SCHED_YIELD
#define _GLIBCXX_USE_SCHED_YIELD #define _GLIBCXX_USE_SCHED_YIELD