Changeset 199278 in webkit


Ignore:
Timestamp:
Apr 9, 2016 6:46:27 PM (8 years ago)
Author:
commit-queue@webkit.org
Message:

Fixed compilation of JPEGImageDecoder with libjpeg v9.
https://bugs.webkit.org/show_bug.cgi?id=156445

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-04-09
Reviewed by Michael Catanzaro.

ICU defines TRUE and FALSE macros, breaking libjpeg v9 headers.

No new tests needed.

  • platform/image-decoders/jpeg/JPEGImageDecoder.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r199276 r199278  
     12016-04-09  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        Fixed compilation of JPEGImageDecoder with libjpeg v9.
     4        https://bugs.webkit.org/show_bug.cgi?id=156445
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        ICU defines TRUE and FALSE macros, breaking libjpeg v9 headers.
     9
     10        No new tests needed.
     11
     12        * platform/image-decoders/jpeg/JPEGImageDecoder.h:
     13
    1142016-04-09  Commit Queue  <commit-queue@webkit.org>
    215
  • trunk/Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.h

    r177423 r199278  
    3131#include <stdio.h> // Needed by jpeglib.h for FILE.
    3232
     33// ICU defines TRUE and FALSE macros, breaking libjpeg v9 headers
     34#undef TRUE
     35#undef FALSE
    3336extern "C" {
    3437#include "jpeglib.h"
Note: See TracChangeset for help on using the changeset viewer.