Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git] / src / debug.h
index 2098942db7ec17e457fa72fb8e88d50f5e3c9d40..639ba673d075e4ce8d7d8a044c1869cd033ffcbf 100644 (file)
@@ -26,8 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "gettime.h"
 #include "log.h"
 
-#if (defined(WIN32) || defined(_WIN32_WCE))
-       #define WIN32_LEAN_AND_MEAN
+#ifdef _WIN32
        #ifndef _WIN32_WINNT
                #define _WIN32_WINNT 0x0501
        #endif
@@ -92,7 +91,6 @@ void debug_set_exception_handler();
 #define DEBUG_STACK_SIZE 50
 #define DEBUG_STACK_TEXT_SIZE 300
 
-extern void debug_stacks_init();
 extern void debug_stacks_print_to(std::ostream &os);
 extern void debug_stacks_print();