Skip to content
Snippets Groups Projects
Commit c6e3797c authored by Kahrl's avatar Kahrl
Browse files

Remove assert warning in leveldb wonderland

parent 168fa2ff
Branches
Tags
No related merge requests found
......@@ -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 <assert.h>
#undef assert
/*
Assert
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment