Merge pull request #1403 from shinovon/8

Symbian: fix gcce builds not running on s60v3
This commit is contained in:
UnknownShadow200 2025-07-22 20:44:16 +10:00 committed by GitHub
commit 579aa4f6d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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