mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 01:05:48 +01:00 
			
		
		
		
	Remove assert warning in leveldb wonderland
This commit is contained in:
		@@ -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
 | 
			
		||||
*/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user