Changeset 85800 in webkit


Ignore:
Timestamp:
May 4, 2011 3:55:51 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-05-04 Fridrich Strba <fridrich.strba@bluewin.ch>

Reviewed by Adam Barth.

Add COMPILER(MINGW) to the compilers using the Microsoft C Runtime's vsnprintf.
The vsnprintf is part of Microsoft C runtime used also by MinGW (GCC) toolchain.
https://bugs.webkit.org/show_bug.cgi?id=58579

  • dom/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::error):
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r85799 r85800  
     12011-05-04  Fridrich Strba  <fridrich.strba@bluewin.ch>
     2
     3        Reviewed by Adam Barth.
     4
     5        Add COMPILER(MINGW) to the compilers using the Microsoft C Runtime's vsnprintf.
     6        The vsnprintf is part of Microsoft C runtime used also by MinGW (GCC) toolchain.
     7        https://bugs.webkit.org/show_bug.cgi?id=58579
     8
     9        * dom/XMLDocumentParserLibxml2.cpp:
     10        (WebCore::XMLDocumentParser::error):
     11
    1122011-05-04  Alexis Menard  <alexis.menard@openbossa.org>
    213
  • trunk/Source/WebCore/dom/XMLDocumentParserLibxml2.cpp

    r85395 r85800  
    944944        return;
    945945
    946 #if COMPILER(MSVC) || COMPILER(RVCT)
     946#if COMPILER(MSVC) || COMPILER(RVCT) || COMPILER(MINGW)
    947947    char m[1024];
    948948    vsnprintf(m, sizeof(m) - 1, message, args);
     
    958958        handleError(type, m, lineNumber(), columnNumber());
    959959
    960 #if !COMPILER(MSVC) && !COMPILER(RVCT)
     960#if !COMPILER(MSVC) && !COMPILER(RVCT) && !COMPILER(MINGW)
    961961    free(m);
    962962#endif
Note: See TracChangeset for help on using the changeset viewer.