Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jan 6, 2025

PR #985 added some code that used M_PI, but M_PI is not defined in any standard, and before including cmath or math.h in Windows it is necessary to define _USE_MATH_DEFINES to ensure that M_PI is defined.


This is an automatic backport of pull request #1061 done by Mergify.

PR #985 added some
code that used `M_PI`, but `M_PI` is not defined in any standard, and
before including `cmath` or `math.h` in Windows it is necessary to
define `_USE_MATH_DEFINES` to ensure that `M_PI` is defined.

(cherry picked from commit 86f51ab)
@ahcorde ahcorde merged commit c3baf0d into jazzy Jan 6, 2025
2 checks passed
@ahcorde ahcorde deleted the mergify/bp/jazzy/pr-1061 branch January 6, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants