Fix linux compilation

This commit is contained in:
nmzik
2026-07-27 05:07:16 +02:00
parent 31fb3ec5af
commit c86d4b1f0d
14 changed files with 121 additions and 98 deletions
+4 -4
View File
@@ -772,19 +772,19 @@ int KYTY_SYSV_ABI atoi(const char* str) {
}
float KYTY_SYSV_ABI sinf(float x) {
return std::sinf(x);
return std::sin(x);
}
float KYTY_SYSV_ABI cosf(float x) {
return std::cosf(x);
return std::cos(x);
}
void KYTY_SYSV_ABI sincosf(float x, float* sinp, float* cosp) {
if (sinp != nullptr) {
*sinp = std::sinf(x);
*sinp = std::sin(x);
}
if (cosp != nullptr) {
*cosp = std::cosf(x);
*cosp = std::cos(x);
}
}