aboutsummaryrefslogtreecommitdiffstats
path: root/src/unix/Daemon.cxx
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2015-09-17 22:18:08 +0200
committerMax Kellermann <max@duempel.org>2015-09-17 22:46:46 +0200
commit9d176e35d4787f03128e227e461c280836f2c9a8 (patch)
tree28ac4ce8de063b2cb0aa4c7c1d8d70b2fac6dd67 /src/unix/Daemon.cxx
parentcd2e8c6ef1930c2d96369de0d3443028af1f5ccf (diff)
downloadmpd-9d176e35d4787f03128e227e461c280836f2c9a8.tar.gz
mpd-9d176e35d4787f03128e227e461c280836f2c9a8.tar.xz
mpd-9d176e35d4787f03128e227e461c280836f2c9a8.zip
unix/Daemon: define WCOREDUMP() for platforms that don't support it
Haiku does not dump core, it just starts the debugger.
Diffstat (limited to 'src/unix/Daemon.cxx')
-rw-r--r--src/unix/Daemon.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unix/Daemon.cxx b/src/unix/Daemon.cxx
index d16de8928..bdc5568e8 100644
--- a/src/unix/Daemon.cxx
+++ b/src/unix/Daemon.cxx
@@ -37,6 +37,10 @@
#include <grp.h>
#endif
+#ifndef WCOREDUMP
+#define WCOREDUMP(v) 0
+#endif
+
static constexpr Domain daemon_domain("daemon");
#ifndef WIN32