aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2015-09-17 22:18:10 +0200
committerMax Kellermann <max@duempel.org>2015-09-17 22:46:46 +0200
commitbf73d0f9051fd5740c22bf6e5114ceb4535d548f (patch)
tree969f7135992a100b88737ac6d3eb8b0dbdaad59e
parent193ffa06d9c64da798147207e3e20c27280e1bac (diff)
downloadmpd-bf73d0f9051fd5740c22bf6e5114ceb4535d548f.tar.gz
mpd-bf73d0f9051fd5740c22bf6e5114ceb4535d548f.tar.xz
mpd-bf73d0f9051fd5740c22bf6e5114ceb4535d548f.zip
notify: Don't use constexpr on Haiku
-rw-r--r--src/notify.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notify.hxx b/src/notify.hxx
index c5a963e23..a077f9d02 100644
--- a/src/notify.hxx
+++ b/src/notify.hxx
@@ -28,7 +28,8 @@ struct notify {
Cond cond;
bool pending;
-#if !defined(WIN32) && !defined(__NetBSD__) && !defined(__BIONIC__)
+#if !defined(WIN32) && !defined(__NetBSD__) && !defined(__BIONIC__) && \
+ !defined(__HAIKU__)
constexpr
#endif
notify():pending(false) {}