mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +01:00
ircd: Tentative fix assert macro missing on clang.
This commit is contained in:
parent
805f2c1184
commit
f85398392f
1 changed files with 5 additions and 0 deletions
|
@ -106,6 +106,11 @@ extern "C"
|
|||
#undef stdout
|
||||
#undef stderr
|
||||
|
||||
// Trouble. clang++-8
|
||||
#ifndef assert
|
||||
#define assert(expr) (static_cast<void>(0))
|
||||
#endif
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////>
|
||||
//
|
||||
// Pollution
|
||||
|
|
Loading…
Reference in a new issue