Add arm for bad assert implementation

This commit is contained in:
mio 2024-01-03 18:07:04 +08:00
parent 3c64e9a9e7
commit e0eeda2362
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
1 changed files with 2 additions and 2 deletions

View File

@ -149,8 +149,8 @@ struct uc_struct;
* code that is unreachable when features are disabled.
* All supported versions of Glib's g_assert() satisfy this requirement.
*/
// Unfortunately, NDK also has this problem.
#if defined(__MINGW32__ ) || defined(__ANDROID__) || defined(__i386__)
// Unfortunately, NDK and arm32 also have this problem.
#if defined(__MINGW32__ ) || defined(__ANDROID__) || defined(__i386__) || defined(__arm__)
#undef assert
#define assert(x) g_assert(x)
#endif