Skip to content

Commit

Permalink
Add arm for bad assert implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Jan 3, 2024
1 parent 3c64e9a commit e0eeda2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qemu/include/qemu/osdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0eeda2

Please sign in to comment.