⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 123968 in webkit


Ignore:
Timestamp:
Jul 28, 2012, 12:22:46 PM (14 years ago)
Author:
pkasting@chromium.org
Message:

Fix Chromium/Win compile.
https://bugs.webkit.org/show_bug.cgi?id=88787

Unreviewed, build fix.

Chromium/Win needs _USE_MATH_DEFINES but doesn't define PLATFORM(WIN).
The other files in WebKit that define this macro (both in
WebCore/platform/graphics/cg) do it by unconditionally #defining it to 1
above the #include of "config.h", so copy that pattern here.

  • TestWebKitAPI/Tests/WTF/MediaTime.cpp:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r123967 r123968  
     12012-07-28  Peter Kasting  <pkasting@google.com>
     2
     3        Fix Chromium/Win compile.
     4        https://bugs.webkit.org/show_bug.cgi?id=88787
     5
     6        Unreviewed, build fix.
     7
     8        Chromium/Win needs _USE_MATH_DEFINES but doesn't define PLATFORM(WIN).
     9        The other files in WebKit that define this macro (both in
     10        WebCore/platform/graphics/cg) do it by unconditionally #defining it to 1
     11        above the #include of "config.h", so copy that pattern here.
     12
     13        * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
     14
    1152012-07-28  Mario Sanchez Prada  <msanchez@igalia.com>
    216
  • trunk/Tools/TestWebKitAPI/Tests/WTF/MediaTime.cpp

    r123906 r123968  
    2727 */
    2828
     29#define _USE_MATH_DEFINES 1
    2930#include "config.h"
    30 
    31 #if PLATFORM(WIN)
    32 #define _USE_MATH_DEFINES
    33 #endif
    3431
    3532#include <wtf/MediaTime.h>
Note: See TracChangeset for help on using the changeset viewer.