Remove unused HAVE(STRINGS_H)
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 May 2020 18:24:15 +0000 (18:24 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 4 May 2020 18:24:15 +0000 (18:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=211377

Reviewed by Alex Christensen.

.:

* Source/cmake/OptionsCommon.cmake: Remove code to set HAVE_STRINGS_H.

Source/WTF:

* wtf/PlatformHave.h: Remove code to set HAVE_STRINGS_H.

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

ChangeLog
Source/WTF/ChangeLog
Source/WTF/wtf/PlatformHave.h
Source/cmake/OptionsCommon.cmake

index 48abbfb..f664b06 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2020-05-04  Darin Adler  <darin@apple.com>
+
+        Remove unused HAVE(STRINGS_H)
+        https://bugs.webkit.org/show_bug.cgi?id=211377
+
+        Reviewed by Alex Christensen.
+
+        * Source/cmake/OptionsCommon.cmake: Remove code to set HAVE_STRINGS_H.
+
 2020-05-01  Per Arne Vollan  <pvollan@apple.com>
 
         [Win] Fix AppleWin build
index 6304728..7d86215 100644 (file)
@@ -1,5 +1,14 @@
 2020-05-04  Darin Adler  <darin@apple.com>
 
+        Remove unused HAVE(STRINGS_H)
+        https://bugs.webkit.org/show_bug.cgi?id=211377
+
+        Reviewed by Alex Christensen.
+
+        * wtf/PlatformHave.h: Remove code to set HAVE_STRINGS_H.
+
+2020-05-04  Darin Adler  <darin@apple.com>
+
         Remove no-longer-needed HAVE(UISCENE)
         https://bugs.webkit.org/show_bug.cgi?id=211376
 
index 2c589a6..efd9f1c 100644 (file)
 #endif
 
 #if OS(DARWIN)
-#define HAVE_STRINGS_H 1
-#endif
-
-#if OS(DARWIN)
 #define HAVE_STRNSTR 1
 #endif
 
index 073cc19..3cc8560 100644 (file)
@@ -120,7 +120,6 @@ WEBKIT_CHECK_HAVE_INCLUDE(HAVE_ERRNO_H errno.h)
 WEBKIT_CHECK_HAVE_INCLUDE(HAVE_LANGINFO_H langinfo.h)
 WEBKIT_CHECK_HAVE_INCLUDE(HAVE_MMAP sys/mman.h)
 WEBKIT_CHECK_HAVE_INCLUDE(HAVE_PTHREAD_NP_H pthread_np.h)
-WEBKIT_CHECK_HAVE_INCLUDE(HAVE_STRINGS_H strings.h)
 WEBKIT_CHECK_HAVE_INCLUDE(HAVE_SYS_PARAM_H sys/param.h)
 WEBKIT_CHECK_HAVE_INCLUDE(HAVE_SYS_TIME_H sys/time.h)
 WEBKIT_CHECK_HAVE_INCLUDE(HAVE_SYS_TIMEB_H sys/timeb.h)