Title: [123968] trunk/Tools
- Revision
- 123968
- Author
- pkast...@chromium.org
- Date
- 2012-07-28 12:22:46 -0700 (Sat, 28 Jul 2012)
Log Message
Fix Chromium/Win compile.
https://bugs.webkit.org/show_bug.cgi?id=88787
Unreviewed, build fix.
Chromium/Win needs _USE_MATH_DEFINES but doesn't define PLATFORM(WIN).
The other files in WebKit that define this macro (both in
WebCore/platform/graphics/cg) do it by unconditionally #defining it to 1
above the #include of "config.h", so copy that pattern here.
* TestWebKitAPI/Tests/WTF/MediaTime.cpp:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (123967 => 123968)
--- trunk/Tools/ChangeLog 2012-07-28 18:45:12 UTC (rev 123967)
+++ trunk/Tools/ChangeLog 2012-07-28 19:22:46 UTC (rev 123968)
@@ -1,3 +1,17 @@
+2012-07-28 Peter Kasting <pkast...@google.com>
+
+ Fix Chromium/Win compile.
+ https://bugs.webkit.org/show_bug.cgi?id=88787
+
+ Unreviewed, build fix.
+
+ Chromium/Win needs _USE_MATH_DEFINES but doesn't define PLATFORM(WIN).
+ The other files in WebKit that define this macro (both in
+ WebCore/platform/graphics/cg) do it by unconditionally #defining it to 1
+ above the #include of "config.h", so copy that pattern here.
+
+ * TestWebKitAPI/Tests/WTF/MediaTime.cpp:
+
2012-07-28 Mario Sanchez Prada <msanc...@igalia.com>
[WK2][GTK] Implement a new spell checker API for WebKit2GTK+
Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/MediaTime.cpp (123967 => 123968)
--- trunk/Tools/TestWebKitAPI/Tests/WTF/MediaTime.cpp 2012-07-28 18:45:12 UTC (rev 123967)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/MediaTime.cpp 2012-07-28 19:22:46 UTC (rev 123968)
@@ -26,12 +26,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#define _USE_MATH_DEFINES 1
#include "config.h"
-#if PLATFORM(WIN)
-#define _USE_MATH_DEFINES
-#endif
-
#include <wtf/MediaTime.h>
using namespace std;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes