aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {}