diff --git a/src/gaussian_latitudes.c b/src/gaussian_latitudes.c index 7196999fc060af391969c8193574959dbaa89ed1..f62954c319556df722c1c02897dca50f86cf7d39 100644 --- a/src/gaussian_latitudes.c +++ b/src/gaussian_latitudes.c @@ -14,6 +14,9 @@ #include <stdlib.h> #include <stdbool.h> #include <float.h> + +// Required on windows to be able to use M_PI +#define _USE_MATH_DEFINES #include <math.h> #ifndef M_SQRT2