Skip to content

Commit ec7ec4e

Browse files
dcharkescommit-bot@chromium.org
authored andcommitted
[gardening] Fix import to fix Flutter build
How cmath is included changes whether the symbols are in the std:: namespace or not. This changes it back to how we have it everywhere in the codebase: math.h Follow up of https://dart-review.googlesource.com/c/sdk/+/115707/ Change-Id: I383c1e9de0434d1367dfdb6302a8fb6db2c3062c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115920 Auto-Submit: Daco Harkes <[email protected]> Reviewed-by: Martin Kustermann <[email protected]> Commit-Queue: Daco Harkes <[email protected]>
1 parent f989605 commit ec7ec4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/platform/floating_point.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_
66
#define RUNTIME_PLATFORM_FLOATING_POINT_H_
77

8-
#include <cmath>
8+
#include <math.h>
99

1010
inline double fmod_ieee(double x, double y) {
1111
return fmod(x, y);

0 commit comments

Comments
 (0)