X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fdebug.h;h=ba2e8704ebd1cc7c892dcec67618c6009f75035a;hb=a1e9732407494edb9cef3ada45cc2781a34ed60c;hp=1532be824a2918a048e5dc592078fb2dead14c5d;hpb=4e1f50035e860a00636ca5d804c267119df99601;p=dragonfireclient.git diff --git a/src/debug.h b/src/debug.h index 1532be824..ba2e8704e 100644 --- a/src/debug.h +++ b/src/debug.h @@ -72,6 +72,14 @@ extern std::ostream dstream; extern std::ostream dstream_no_stderr; extern Nullstream dummyout; +/* + Include assert.h and immediately undef assert so that it can't override + our assert later on. leveldb/slice.h is a notable offender. +*/ + +#include +#undef assert + /* Assert */