Ignore:
Timestamp:
Apr 27, 2010, 6:56:53 AM (15 years ago)
Author:
[email protected]
Message:

Compile fix for Visual Studio 2010
https://bugs.webkit.org/show_bug.cgi?id=37867

Reviewed by Simon Hausmann.

Patch by Prasanth Ullattil <[email protected]>

  • runtime/Structure.cpp:

(JSC::Structure::transitionTableAdd):

  • wtf/MathExtras.h:
  • wtf/Platform.h:
File:
1 edited

Legend:

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

    r58167 r58308  
    123123
    124124#if COMPILER(MSVC)
    125 
     125// The 64bit version of abs() is already defined in stdlib.h which comes with VC10
     126#if COMPILER(MSVC9_OR_LOWER)
    126127inline long long abs(long long num) { return _abs64(num); }
     128#endif
    127129
    128130inline bool isinf(double num) { return !_finite(num) && !_isnan(num); }
Note: See TracChangeset for help on using the changeset viewer.