Ignore:
Timestamp:
Mar 2, 2006, 2:20:53 AM (19 years ago)
Author:
mjs
Message:

Rubber stamped by Anders and Eric.

  • add fpconst.cpp to win32 build, it is now needed
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • kjs/fpconst.cpp:
File:
1 edited

Legend:

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

    r13089 r13092  
    4747#else // !PLATFORM(DARWIN)
    4848
    49 #include "value.h"
    50 
    5149#if PLATFORM(BIG_ENDIAN)
    5250    const unsigned char NaN_Bytes[] = { 0x7f, 0xf8, 0, 0, 0, 0, 0, 0 };
     
    5957    const unsigned char Inf_Bytes[] = { 0, 0, 0, 0, 0, 0, 0xf0, 0x7f };
    6058#endif
    61     const double NaN = *(const double*) NaN_Bytes;
    62     const double Inf = *(const double*) Inf_Bytes;
     59    extern const double NaN = *(const double*) NaN_Bytes;
     60    extern const double Inf = *(const double*) Inf_Bytes;
    6361 
    6462#endif // !PLATFORM(DARWIN)
Note: See TracChangeset for help on using the changeset viewer.