Changeset 49838 in webkit


Ignore:
Timestamp:
Oct 19, 2009 9:39:20 PM (15 years ago)
Author:
abarth@webkit.org
Message:

2009-10-19 Kwang Yul Seo <skyul@company100.net>

Reviewed by Eric Seidel.

Check COMPILER(MSVC) instead of PLATFORM(WIN_OS) to avoid the use of vasprintf.
https://bugs.webkit.org/show_bug.cgi?id=30473

vasprintf is missing in MSVC. Use COMPILER(MSVC) guards instead of
PLALTFORM(WIN_OS) guards.

  • dom/XMLTokenizerLibxml2.cpp: (WebCore::XMLTokenizer::error):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r49837 r49838  
     12009-10-19  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Check COMPILER(MSVC) instead of PLATFORM(WIN_OS) to avoid the use of vasprintf.
     6        https://bugs.webkit.org/show_bug.cgi?id=30473
     7
     8        vasprintf is missing in MSVC. Use COMPILER(MSVC) guards instead of
     9        PLALTFORM(WIN_OS) guards.
     10
     11        * dom/XMLTokenizerLibxml2.cpp:
     12        (WebCore::XMLTokenizer::error):
     13
    1142009-10-19  Jungshik Shin  <jshin@chromium.org>
    215
  • trunk/WebCore/dom/XMLTokenizerLibxml2.cpp

    r49372 r49838  
    888888        return;
    889889
    890 #if PLATFORM(WIN_OS)
     890#if COMPILER(MSVC)
    891891    char m[1024];
    892892    vsnprintf(m, sizeof(m) - 1, message, args);
     
    902902        handleError(type, m, lineNumber(), columnNumber());
    903903
    904 #if !PLATFORM(WIN_OS)
     904#if !COMPILER(MSVC)
    905905    free(m);
    906906#endif
Note: See TracChangeset for help on using the changeset viewer.