From f26baa4a4c5134f85f1d31e941dee0dce71602c1 Mon Sep 17 00:00:00 2001 From: "feng@chromium.org" Date: Fri, 24 Oct 2008 23:20:25 +0000 Subject: [PATCH] remove unused strcasecmp on windows, it conflicts with the one from webkit, check in on behave of dglazkov@chromium.org git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@594 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/platform-win32.cc | 7 ------- src/platform.h | 1 - 2 files changed, 8 deletions(-) diff --git a/src/platform-win32.cc b/src/platform-win32.cc index 4fdbf78e9..803df77bf 100644 --- a/src/platform-win32.cc +++ b/src/platform-win32.cc @@ -153,13 +153,6 @@ int random() { } -// Case-insensitive string comparisons. Use stricmp() on Win32. Usually defined -// in strings.h. -int strcasecmp(const char* s1, const char* s2) { - return _stricmp(s1, s2); -} - - // Case-insensitive bounded string comparisons. Use stricmp() on Win32. Usually // defined in strings.h. int strncasecmp(const char* s1, const char* s2, int n) { diff --git a/src/platform.h b/src/platform.h index 0e33fa8da..7238d7025 100644 --- a/src/platform.h +++ b/src/platform.h @@ -68,7 +68,6 @@ int signbit(double x); int random(); -int strcasecmp(const char* s1, const char* s2); int strncasecmp(const char* s1, const char* s2, int n); #else -- 2.34.1