Changeset 51197 in webkit


Ignore:
Timestamp:
Nov 19, 2009 11:54:50 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-11-19 Laszlo Gombos <Laszlo Gombos>

Reviewed by Darin Adler.

Remove HAVE(FLOAT_H) guard
https://bugs.webkit.org/show_bug.cgi?id=31661

JavaScriptCore has a dependency on float.h, there is
no need to guard float.h.

  • runtime/DatePrototype.cpp: Remove include directive for float.h as it is included in MathExtras.h already.
  • runtime/Operations.cpp: Ditto.
  • runtime/UString.cpp: Ditto.
  • wtf/dtoa.cpp: Ditto.
  • wtf/MathExtras.h: Remove HAVE(FLOAT_H) guard.
  • wtf/Platform.h: Ditto.

2009-11-19 Laszlo Gombos <Laszlo Gombos>

Reviewed by Darin Adler.

Remove HAVE(FLOAT_H) guard
https://bugs.webkit.org/show_bug.cgi?id=31661

WebCore has a dependency on float.h, there is
no need to guard float.h.

No new tests as there is no functional change.

  • html/HTMLInputElement.cpp: Remove include directive for float.h as it is included in MathExtras.h already.
Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r51183 r51197  
     12009-11-19  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        Remove HAVE(FLOAT_H) guard
     6        https://bugs.webkit.org/show_bug.cgi?id=31661
     7
     8        JavaScriptCore has a dependency on float.h, there is
     9        no need to guard float.h.
     10
     11        * runtime/DatePrototype.cpp: Remove include directive
     12        for float.h as it is included in MathExtras.h already.
     13        * runtime/Operations.cpp: Ditto.
     14        * runtime/UString.cpp: Ditto.
     15        * wtf/dtoa.cpp: Ditto.
     16        * wtf/MathExtras.h: Remove HAVE(FLOAT_H) guard.
     17        * wtf/Platform.h: Ditto.
     18
    1192009-11-19  Thiago Macieira <thiago.macieira@nokia.com>
    220
  • trunk/JavaScriptCore/runtime/DatePrototype.cpp

    r50708 r51197  
    2929#include "ObjectPrototype.h"
    3030#include "DateInstance.h"
    31 #include <float.h>
    3231
    3332#if !PLATFORM(MAC) && HAVE(LANGINFO_H)
  • trunk/JavaScriptCore/runtime/Operations.cpp

    r44224 r51197  
    2929#include <stdio.h>
    3030#include <wtf/MathExtras.h>
    31 
    32 #if HAVE(FLOAT_H)
    33 #include <float.h>
    34 #endif
    3531
    3632namespace JSC {
  • trunk/JavaScriptCore/runtime/UString.cpp

    r51168 r51197  
    3131#include "Operations.h"
    3232#include <ctype.h>
    33 #include <float.h>
    3433#include <limits.h>
    3534#include <limits>
  • trunk/JavaScriptCore/wtf/MathExtras.h

    r49585 r51197  
    2727#define WTF_MathExtras_h
    2828
     29#include <float.h>
    2930#include <math.h>
    3031#include <stdlib.h>
     
    4445#endif
    4546#include <limits>
    46 
    47 #if HAVE(FLOAT_H)
    48 #include <float.h>
    49 #endif
    50 
    5147#endif
    5248
  • trunk/JavaScriptCore/wtf/Platform.h

    r51183 r51197  
    590590#elif PLATFORM(WIN_OS)
    591591
    592 #define HAVE_FLOAT_H 1
    593592#if PLATFORM(WINCE)
    594593#define HAVE_ERRNO_H 0
  • trunk/JavaScriptCore/wtf/dtoa.cpp

    r51168 r51197  
    141141#define NO_ERRNO
    142142#endif
    143 #include <float.h>
    144143#include <math.h>
    145144#include <stdint.h>
  • trunk/WebCore/ChangeLog

    r51194 r51197  
     12009-11-19  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        Remove HAVE(FLOAT_H) guard
     6        https://bugs.webkit.org/show_bug.cgi?id=31661
     7
     8        WebCore has a dependency on float.h, there is
     9        no need to guard float.h.
     10
     11        No new tests as there is no functional change.
     12
     13        * html/HTMLInputElement.cpp: Remove include directive
     14        for float.h as it is included in MathExtras.h already.
     15
    1162009-11-19  Simon Fraser  <simon.fraser@apple.com>
    217
  • trunk/WebCore/html/HTMLInputElement.cpp

    r51170 r51197  
    6363#include "StringHash.h"
    6464#include "TextEvent.h"
    65 #include <float.h>
    6665#include <wtf/HashMap.h>
    6766#include <wtf/MathExtras.h>
Note: See TracChangeset for help on using the changeset viewer.