aboutsummaryrefslogtreecommitdiffstats
path: root/src/notify.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-18 09:36:24 +0100
committerMax Kellermann <max@duempel.org>2014-02-18 09:54:35 +0100
commit9b7f492c65ca1bcc034f81ae30eab05177bf322f (patch)
treecfbddd529eacf2df4240100da7882e72f6442126 /src/notify.hxx
parent6eda79d02d3f73d79ecd78cf18aba053973a9652 (diff)
downloadmpd-9b7f492c65ca1bcc034f81ae30eab05177bf322f.tar.gz
mpd-9b7f492c65ca1bcc034f81ae30eab05177bf322f.tar.xz
mpd-9b7f492c65ca1bcc034f81ae30eab05177bf322f.zip
thread/Posix{Mutex,Cond}: disable "constexpr" on Android
Bionic's pthread declarations are non-literal.
Diffstat (limited to '')
-rw-r--r--src/notify.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notify.hxx b/src/notify.hxx
index cde29468f..ebd12e5c6 100644
--- a/src/notify.hxx
+++ b/src/notify.hxx
@@ -28,7 +28,7 @@ struct notify {
Cond cond;
bool pending;
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__BIONIC__)
constexpr
#endif
notify():pending(false) {}