Changeset 138903 in webkit


Ignore:
Timestamp:
Jan 5, 2013 12:50:13 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Only enable MinGW-w64 pow() workaround if needed
https://bugs.webkit.org/show_bug.cgi?id=106099

Patch by Jonathan Liu <net147@gmail.com> on 2013-01-05
Reviewed by Filip Pizlo.

The pow() workaround is no longer needed in the latest version
of MinGW-w64.

  • wtf/MathExtras.h:
Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r138894 r138903  
     12013-01-05  Jonathan Liu  <net147@gmail.com>
     2
     3        Only enable MinGW-w64 pow() workaround if needed
     4        https://bugs.webkit.org/show_bug.cgi?id=106099
     5
     6        Reviewed by Filip Pizlo.
     7
     8        The pow() workaround is no longer needed in the latest version
     9        of MinGW-w64.
     10
     11        * wtf/MathExtras.h:
     12
    1132013-01-05  Jonathan Liu  <net147@gmail.com>
    214
  • trunk/Source/WTF/wtf/MathExtras.h

    r138894 r138903  
    348348#endif
    349349
    350 #if COMPILER(MINGW64)
     350#if COMPILER(MINGW64) && (!defined(__MINGW64_VERSION_RC) || __MINGW64_VERSION_RC < 1)
    351351inline double wtf_pow(double x, double y)
    352352{
     
    368368}
    369369#define pow(x, y) wtf_pow(x, y)
    370 #endif // COMPILER(MINGW64)
     370#endif // COMPILER(MINGW64) && (!defined(__MINGW64_VERSION_RC) || __MINGW64_VERSION_RC < 1)
    371371
    372372
Note: See TracChangeset for help on using the changeset viewer.