Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2785)

Unified Diff: Source/wtf/Platform.h

Issue 22118002: Move all the HAVE() macros related to string manipulations to wtf/StringExtras.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@timeb
Patch Set: Address review comments Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/wtf/StringExtras.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Platform.h
diff --git a/Source/wtf/Platform.h b/Source/wtf/Platform.h
index 87fe3e38bd7f5793bc877cf943021cc85b22a92e..93d2da35e88b99ebf29cd38c7e781ac94431d0ff 100644
--- a/Source/wtf/Platform.h
+++ b/Source/wtf/Platform.h
@@ -138,7 +138,6 @@
#if OS(UNIX)
#define HAVE_MMAP 1
#define HAVE_SIGNAL_H 1
-#define HAVE_STRINGS_H 1
#define HAVE_SYS_TIME_H 1
#define WTF_USE_PTHREADS 1
#endif /* OS(UNIX) */
@@ -153,12 +152,6 @@
#endif
#endif
-#if !defined(HAVE_STRNSTR)
-#if OS(DARWIN) || (OS(FREEBSD) && !defined(__GLIBC__))
-#define HAVE_STRNSTR 1
-#endif
-#endif
-
#if !OS(WINDOWS) && !OS(SOLARIS) && !OS(ANDROID)
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
« no previous file with comments | « no previous file | Source/wtf/StringExtras.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698