From 45fa351feb10ad89629676897ec8d11ff0930d46 Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Thu, 1 Apr 2010 08:18:16 +0000 Subject: [PATCH] Revert unnecessary bcb462ad87 This was SVN commit r7422. --- source/scriptinterface/ScriptInterface.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/source/scriptinterface/ScriptInterface.cpp b/source/scriptinterface/ScriptInterface.cpp index 92d9fb69a2..fb84420abe 100644 --- a/source/scriptinterface/ScriptInterface.cpp +++ b/source/scriptinterface/ScriptInterface.cpp @@ -30,15 +30,7 @@ #include #include -#if OS_LINUX -# define HAVE_VALGRIND 1 -#else -# define HAVE_VALGRIND 0 -#endif - -#if HAVE_VALGRIND #include "valgrind.h" -#endif const int RUNTIME_SIZE = 4 * 1024 * 1024; // TODO: how much memory is needed? const int STACK_CHUNK_SIZE = 8192; @@ -84,9 +76,7 @@ void ErrorReporter(JSContext* UNUSED(cx), const char* message, JSErrorReport* re else LOGERROR(L"%hs", msg.str().c_str()); // When running under Valgrind, print more information in the error message -#if HAVE_VALGRIND VALGRIND_PRINTF_BACKTRACE("->"); -#endif } // Functions in the global namespace: