2009-05-20 Xan Lopez <xlopez@igalia.com>
authorxan@webkit.org <xan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 May 2009 11:38:12 +0000 (11:38 +0000)
committerxan@webkit.org <xan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 May 2009 11:38:12 +0000 (11:38 +0000)
        Reviewed by Eric Seidel.

        Fix GTK debug build.

        The function dumpDisjunction, compiled with debug enabled, uses
        printf, which needs stdio.h to be included.

        * yarr/RegexInterpreter.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@43901 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/yarr/RegexInterpreter.cpp

index 0372097..e4157b4 100644 (file)
@@ -1,3 +1,14 @@
+2009-05-20  Xan Lopez  <xlopez@igalia.com>
+
+        Reviewed by Eric Seidel.
+
+        Fix GTK debug build.
+
+        The function dumpDisjunction, compiled with debug enabled, uses
+        printf, which needs stdio.h to be included.
+
+        * yarr/RegexInterpreter.cpp:
+
 2009-05-20  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
 
         Reviewed by George Staikos.
index 00eb4b1..f31e553 100644 (file)
 #include "RegexCompiler.h"
 #include "RegexPattern.h"
 
+#ifndef NDEBUG
+#include <stdio.h>
+#endif
+
 #if ENABLE(YARR)
 
 using namespace WTF;