thread/Posix{Mutex,Cond}: disable "constexpr" on Android

Bionic's pthread declarations are non-literal.
This commit is contained in:
Max Kellermann
2014-02-18 09:36:24 +01:00
parent 6eda79d02d
commit 9b7f492c65
3 changed files with 9 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ struct notify {
Cond cond;
bool pending;
#ifndef WIN32
#if !defined(WIN32) && !defined(__BIONIC__)
constexpr
#endif
notify():pending(false) {}