Make RT build without __USE_MISC and __USE_XOPEN

This commit is contained in:
Flössie
2017-01-28 19:03:59 +01:00
parent 9c9ac0d589
commit 88336cb897
24 changed files with 276 additions and 242 deletions

View File

@@ -37,7 +37,7 @@ static inline float Lanc(float x, float a)
} else if (x * x > a * a) {
return 0.0f;
} else {
x = static_cast<float>(M_PI) * x;
x = static_cast<float>(rtengine::RT_PI) * x;
return a * xsinf(x) * xsinf(x / a) / (x * x);
}
}