Ignore:
Timestamp:
Mar 14, 2011, 4:47:07 PM (14 years ago)
Author:
[email protected]
Message:

2011-03-14 Viatcheslav Ostapenko <[email protected]>

Reviewed by Laszlo Gombos.

[Qt] Warning that round/roundf functions are already defined when compiled with RVCT 4 on symbian.
https://bugs.webkit.org/show_bug.cgi?id=56133

Add condition to not compile webkit internal math round functions on RVCT compiler versions
from 3.0.0 because they are already defined in compiler math library.

  • wtf/MathExtras.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/MathExtras.h

    r77242 r81081  
    107107#endif
    108108
    109 #if COMPILER(MSVC) || COMPILER(RVCT)
     109#if COMPILER(MSVC) || (COMPILER(RVCT) && !(RVCT_VERSION_AT_LEAST(3, 0, 0, 0)))
    110110
    111111// We must not do 'num + 0.5' or 'num - 0.5' because they can cause precision loss.
Note: See TracChangeset for help on using the changeset viewer.