Ignore:
Timestamp:
Oct 18, 2009, 11:43:44 PM (16 years ago)
Author:
[email protected]
Message:

2009-10-18 Kwang Yul Seo <[email protected]>

Reviewed by Darin Adler.

Use _stricmp and _strnicmp instead of deprecated stricmp and strnicmp.
https://bugs.webkit.org/show_bug.cgi?id=30474

stricmp and strnicmp are deprecated beginning in Visual
C++ 2005. Use _stricmp and _strnicmp instead in StringExtras.h.

  • wtf/StringExtras.h: (strncasecmp): (strcasecmp):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/StringExtras.h

    r48012 r49765  
    7676inline int strncasecmp(const char* s1, const char* s2, size_t len)
    7777{
    78     return strnicmp(s1, s2, len);
     78    return _strnicmp(s1, s2, len);
    7979}
    8080
    8181inline int strcasecmp(const char* s1, const char* s2)
    8282{
    83     return stricmp(s1, s2);
     83    return _stricmp(s1, s2);
    8484}
    8585
Note: See TracChangeset for help on using the changeset viewer.