diff options
author | Kahrl <kahrl@gmx.net> | 2013-09-10 18:28:26 +0200 |
---|---|---|
committer | Kahrl <kahrl@gmx.net> | 2013-09-10 18:28:26 +0200 |
commit | c6e3797c1a2ed45ab72704ce434d15e65930f595 (patch) | |
tree | c3dfb6eb200c3f797fa297a2b480126c438131b4 | |
parent | 168fa2ffe0e4789522ed30ea14767a79adf82e55 (diff) | |
download | minetest-c6e3797c1a2ed45ab72704ce434d15e65930f595.tar.gz minetest-c6e3797c1a2ed45ab72704ce434d15e65930f595.tar.bz2 minetest-c6e3797c1a2ed45ab72704ce434d15e65930f595.zip |
Remove assert warning in leveldb wonderland
-rw-r--r-- | src/debug.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h index 1532be824..ba2e8704e 100644 --- a/src/debug.h +++ b/src/debug.h @@ -73,6 +73,14 @@ 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 */ |