Fix linux compilation

This commit is contained in:
nmzik committed 2026-07-27 10:12:41 +02:00
1 parent 31fb3ec5af
commit c86d4b1f0d
14 files changed
+121 -98

No files matched your search

+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);
}
}