Ignore:
Timestamp:
Sep 10, 2005, 11:58:55 AM (20 years ago)
Author:
darin
Message:
  • fixed compilation for WebCore
  • kjs/simple_number.h: Have to include <cmath> here to work around a bug in the GCC standard C++ library headers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/simple_number.h

    r10510 r10511  
    2626#include <math.h>
    2727#include <string.h>
     28
     29// Workaround for a bug in GCC library headers.
     30// We'd prefer to just use math.h.
     31#if !WIN32
     32#include <cmath>
     33using std::signbit;
     34#endif
    2835
    2936namespace KJS {
Note: See TracChangeset for help on using the changeset viewer.