2009-11-19 Laszlo Gombos <laszlo.1.gombos@nokia.com>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Nov 2009 20:12:40 +0000 (20:12 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Nov 2009 20:12:40 +0000 (20:12 +0000)
        Reviewed by Darin Adler.

        Remove HAVE(STRING_H) guard from JavaScriptCore
        https://bugs.webkit.org/show_bug.cgi?id=31668

        * config.h:
        * runtime/UString.cpp:

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

JavaScriptCore/ChangeLog
JavaScriptCore/config.h
JavaScriptCore/runtime/UString.cpp

index 5057ab01d925c2ce0ac068f3c586dc8479e246df..14a12908e573996a45e610cc137b3d2c41a71b56 100644 (file)
@@ -1,3 +1,13 @@
+2009-11-19  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
+
+        Reviewed by Darin Adler.
+
+        Remove HAVE(STRING_H) guard from JavaScriptCore
+        https://bugs.webkit.org/show_bug.cgi?id=31668
+
+        * config.h:
+        * runtime/UString.cpp:
+
 2009-11-19  Dumitru Daniliuc  <dumi@chromium.org>
 
         Reviewed by Dmitry Titov.
index a6a6f0a287555d4447b53b4ef7c69514f60cfbb2..30757db2902266a8afba485f5c281c16f6588272 100644 (file)
@@ -57,7 +57,6 @@
 
 /* FIXME: if all platforms have these, do they really need #defines? */
 #define HAVE_STDINT_H 1
-#define HAVE_STRING_H 1
 
 #define WTF_CHANGES 1
 
index 257868de183ea6bfac6a0ae2a88b75ac5776526e..50d23c4e1c6ad44855aa82a2e522c556a19a2bca 100644 (file)
@@ -35,6 +35,7 @@
 #include <math.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 #include <wtf/ASCIICType.h>
 #include <wtf/Assertions.h>
 #include <wtf/MathExtras.h>
@@ -43,9 +44,6 @@
 #include <wtf/unicode/UTF8.h>
 #include <wtf/StringExtras.h>
 
-#if HAVE(STRING_H)
-#include <string.h>
-#endif
 #if HAVE(STRINGS_H)
 #include <strings.h>
 #endif