mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Remove assert warning in leveldb wonderland
This commit is contained in:
parent
168fa2ffe0
commit
c6e3797c1a
1 changed files with 8 additions and 0 deletions
|
@ -72,6 +72,14 @@ extern std::ostream dstream;
|
||||||
extern std::ostream dstream_no_stderr;
|
extern std::ostream dstream_no_stderr;
|
||||||
extern Nullstream dummyout;
|
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 <assert.h>
|
||||||
|
#undef assert
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Assert
|
Assert
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue