Add arm for bad assert implementation
This commit is contained in:
@@ -149,8 +149,8 @@ struct uc_struct;
|
|||||||
* code that is unreachable when features are disabled.
|
* code that is unreachable when features are disabled.
|
||||||
* All supported versions of Glib's g_assert() satisfy this requirement.
|
* All supported versions of Glib's g_assert() satisfy this requirement.
|
||||||
*/
|
*/
|
||||||
// Unfortunately, NDK also has this problem.
|
// Unfortunately, NDK and arm32 also have this problem.
|
||||||
#if defined(__MINGW32__ ) || defined(__ANDROID__) || defined(__i386__)
|
#if defined(__MINGW32__ ) || defined(__ANDROID__) || defined(__i386__) || defined(__arm__)
|
||||||
#undef assert
|
#undef assert
|
||||||
#define assert(x) g_assert(x)
|
#define assert(x) g_assert(x)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user