mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1119072, Part 5: Work around problem with cmath and M_PI on VS2015, r=ehsan
--HG-- extra : rebase_source : f4973d8a8d1c56a0b843d0258ca739cd4b12f780
This commit is contained in:
parent
bf1345cee7
commit
48fd2c4ff3
@ -26,14 +26,14 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// For M_PI from cmath
|
||||
#ifdef _MSC_VER
|
||||
# define _USE_MATH_DEFINES
|
||||
#endif
|
||||
// For M_PI
|
||||
// VS2015 requires <math.h> to be used; <cmath> doesn't seem to honor
|
||||
// _USE_MATH_DEFINES.
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
|
||||
#include "Biquad.h"
|
||||
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
#include <algorithm>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user