Bug 1059033 - Followup to fix windows build
☠☠ backed out by 6cddb4cf40e3 ☠ ☠
authorMatt Woodrow <mwoodrow@mozilla.com>
Mon, 01 Sep 2014 16:30:25 +1200
changeset 224489 d8d79e4fbfc49f964743dfca2c7817c84dc8397e
parent 224488 588d58c76e334431389a0989af885ad2440d1306
child 224490 4d4b03442eaf93587475a9bfce82e68b99055f0f
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1059033
milestone34.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 1059033 - Followup to fix windows build
gfx/2d/DrawTargetTiled.cpp
--- a/gfx/2d/DrawTargetTiled.cpp
+++ b/gfx/2d/DrawTargetTiled.cpp
@@ -1,16 +1,19 @@
 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include "DrawTargetTiled.h"
 #include "Logging.h"
 
+#define _USE_MATH_DEFINES
+#include <cmath>
+
 using namespace std;
 
 namespace mozilla {
 namespace gfx {
 
 DrawTargetTiled::DrawTargetTiled()
 {
 }