Bug 868716 - Fix placement of #include <float.h>; r=ehsan
authorYuan Pengfei <coolypf@qq.com>
Sat, 04 May 2013 11:35:35 -0400
changeset 130838 02177404fdd5c5de446299217df3f34dcc43276a
parent 130837 0ca8ab638f997b8f11b870fb5d15502ac15a3d5a
child 130839 83e4f474660e5840ae7c34bf489b59c238ba8800
push id24634
push userphilringnalda@gmail.com
push dateSat, 04 May 2013 21:00:23 +0000
treeherdermozilla-central@7ef3c04c7533 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs868716
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 868716 - Fix placement of #include <float.h>; r=ehsan
content/media/webaudio/blink/DenormalDisabler.h
--- a/content/media/webaudio/blink/DenormalDisabler.h
+++ b/content/media/webaudio/blink/DenormalDisabler.h
@@ -22,23 +22,23 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
 #ifndef DenormalDisabler_h
 #define DenormalDisabler_h
 
 #define _USE_MATH_DEFINES
 #include <cmath>
+#include <float.h>
 
 namespace WebCore {
 
 // Deal with denormals. They can very seriously impact performance on x86.
 
 // Define HAVE_DENORMAL if we support flushing denormals to zero.
-#include <float.h>
 #if defined(XP_WIN) && defined(_MSC_VER)
 #define HAVE_DENORMAL
 #endif
 
 #if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
 #define HAVE_DENORMAL
 #endif