components/desktop/thunderbird/patches/firefox-10-webaudio_math.patch
author Stacy Yeh <stacy.yeh@oracle.com>
Tue, 19 Jul 2016 14:15:23 -0700
changeset 6431 e4667e7df088
permissions -rw-r--r--
23601539 Update Thunderbird to version 45.1.0

This allows us to get some function from math.h that other platforms are
getting elsewhere.
Can potentially send upstream with ifdef Solaris statement.

diff --git a/dom/media/webaudio/ThreeDPoint.h b/dom/media/webaudio/ThreeDPoint.h
--- a/dom/media/webaudio/ThreeDPoint.h
+++ b/dom/media/webaudio/ThreeDPoint.h
@@ -8,6 +8,7 @@
 #define ThreeDPoint_h_
  
 #include <cmath>
+#include <math.h>
 #include <algorithm>
 
 namespace mozilla {
diff --git a/dom/media/webaudio/blink/DenormalDisabler.h b/dom/media/webaudio/blink/DenormalDisabler.h        
--- a/dom/media/webaudio/blink/DenormalDisabler.h
+++ b/dom/media/webaudio/blink/DenormalDisabler.h
@@ -27,6 +27,7 @@
 
 #define _USE_MATH_DEFINES
 #include <cmath>
+#include <math.h>
 #include <float.h>
 
 namespace WebCore {