Skip to content

Conversation

@moleium
Copy link

@moleium moleium commented Oct 25, 2025

Fixes a build failure on Windows when using the MSYS2 clang64 toolchain.

The compiler already defines __int128_t which caused a typedef redefinition error. This PR updates the preprocessor directive in qemu/include/qemu/int128.h to avoid this redefinition for all Clang compilers.

 unicorn/qemu/include/qemu/int128.h:150:16: error: typedef redefinition with different types ('Int128' (aka 'struct Int128') vs '__int128')
  150 | typedef Int128 __int128_t;
      |                ^
1 error generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant