Ignore:
Timestamp:
Aug 31, 2006, 3:59:26 PM (19 years ago)
Author:
andersca
Message:

2006-08-31 Anders Carlsson <[email protected]>

Reviewed by Darin.


Add new portability functions to MathExtras.h and add StringExtras.h which is for
string portability functions.


  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • bindings/c/c_instance.cpp:
  • kjs/date_object.cpp:
  • wtf/MathExtras.h: (copysign): (isfinite):
  • wtf/StringExtras.h: Added. (snprintf): (strncasecmp):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/date_object.cpp

    r15846 r16164  
    5353#include "operations.h"
    5454
     55#include <wtf/MathExtras.h>
     56#include <wtf/StringExtras.h>
     57
    5558#if PLATFORM(MAC)
    5659#include <CoreFoundation/CoreFoundation.h>
    57 #endif
    58 
    59 #if PLATFORM(WIN_OS)
    60 #define copysign(x, y) _copysign(x, y)
    61 #define isfinite(x) _finite(x)
    62 #define strncasecmp(x, y, z) strnicmp(x, y, z)
    63 #define snprintf _snprintf
    6460#endif
    6561
Note: See TracChangeset for help on using the changeset viewer.