* wtf/Assertions.cpp: Fix build when _DEBUG is not defined.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16808
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-10-05 Darin Adler <darin@apple.com>
+
+ Reviewed by Kevin McCullough.
+
+ * wtf/Assertions.cpp: Fix build when _DEBUG is not defined.
+
2006-10-04 Kevin McCullough <KMcCullough@apple.com>
Reviewed by Adam.
static void printCallSite(const char* file, int line, const char* function)
{
-#if PLATFORM(WIN)
+#if PLATFORM(WIN) && defined _DEBUG
_CrtDbgReport(_CRT_WARN, file, line, NULL, "%s\n", function);
#else
printf_stderr_common("(%s:%d %s)\n", file, line, function);