From f85398392f43afd8726e3f7b458c565c6be436f3 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 23 Jun 2019 01:09:48 -0600 Subject: [PATCH] ircd: Tentative fix assert macro missing on clang. --- include/ircd/stdinc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/ircd/stdinc.h b/include/ircd/stdinc.h index 081fd36c9..2a4721945 100644 --- a/include/ircd/stdinc.h +++ b/include/ircd/stdinc.h @@ -106,6 +106,11 @@ extern "C" #undef stdout #undef stderr +// Trouble. clang++-8 +#ifndef assert + #define assert(expr) (static_cast(0)) +#endif + //////////////////////////////////////////////////////////////////////////////> // // Pollution