Symbian: fix gcce builds not running on s60v3

This commit is contained in:
Shinovon 2025-07-22 13:03:36 +05:00
parent 21b4fe79aa
commit 57714203de

View File

@ -709,5 +709,21 @@ static cc_result GetMachineID(cc_uint32* key) {
}
return 0;
}
#ifndef __ARMCC_4_0__
extern "C" {
extern int __aeabi_uidivmod(unsigned int a, unsigned int b);
extern int __aeabi_idivmod(int a, int b);
int __aeabi_idiv(int a, int b)
{
return __aeabi_idivmod(a, b);
}
int __aeabi_uidiv(unsigned int a, unsigned int b)
{
return __aeabi_uidivmod(a, b);
}
}
#endif
#endif