From 9d176e35d4787f03128e227e461c280836f2c9a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 17 Sep 2015 22:18:08 +0200 Subject: unix/Daemon: define WCOREDUMP() for platforms that don't support it Haiku does not dump core, it just starts the debugger. --- src/unix/Daemon.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 #endif +#ifndef WCOREDUMP +#define WCOREDUMP(v) 0 +#endif + static constexpr Domain daemon_domain("daemon"); #ifndef WIN32 -- cgit v1.2.3