mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
[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 <dacoharkes@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
parent
f989605cc9
commit
ec7ec4ecf7
|
@ -5,7 +5,7 @@
|
||||||
#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_
|
#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_
|
||||||
#define RUNTIME_PLATFORM_FLOATING_POINT_H_
|
#define RUNTIME_PLATFORM_FLOATING_POINT_H_
|
||||||
|
|
||||||
#include <cmath>
|
#include <math.h>
|
||||||
|
|
||||||
inline double fmod_ieee(double x, double y) {
|
inline double fmod_ieee(double x, double y) {
|
||||||
return fmod(x, y);
|
return fmod(x, y);
|
||||||
|
|
Loading…
Reference in a new issue