Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Unified Diff: runtime/platform/globals.h

Issue 353403004: Fixes Android build by using C++ math header instead of C one. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/platform/globals.h
===================================================================
--- runtime/platform/globals.h (revision 37827)
+++ runtime/platform/globals.h (working copy)
@@ -37,7 +37,6 @@
#include <float.h>
#include <limits.h>
-#include <math.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
@@ -45,6 +44,8 @@
#include <string.h>
#include <sys/types.h>
+#include <cmath>
+
#if defined(_WIN32)
#include "platform/c99_support_win.h"
#include "platform/inttypes_support_win.h"

Powered by Google App Engine
This is Rietveld 408576698