Skip to content

Commit

Permalink
[gardening] Fix import to fix Flutter build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dcharkes authored and commit-bot@chromium.org committed Sep 6, 2019
1 parent f989605 commit ec7ec4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/platform/floating_point.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#ifndef RUNTIME_PLATFORM_FLOATING_POINT_H_
#define RUNTIME_PLATFORM_FLOATING_POINT_H_

#include <cmath>
#include <math.h>

inline double fmod_ieee(double x, double y) {
return fmod(x, y);
Expand Down

0 comments on commit ec7ec4e

Please sign in to comment.