Skip to content

Conversation

@carlo-bramini
Copy link
Contributor

The macros _M_AMD64, _M_IX86 and _M_ARM64 are available into MSVC.
However, these macros are not available into GNU tools like MinGW-w64.
This patch doesn't modify any function, it just check which CPU architecture is used on Windows, by also adding the identifiers used by GCC.
To avoid some duplications, the checks into the code are now done by just using:

  • EDD_DBG_X86_64 for AMD64 and Intel x86-64 CPUs.
  • EDD_DBG_X86 for 80x86 CPUs.
  • EDD_DBG_ARM64 for Aarch64 CPUs.

Tested with MinGW-w64 tools with x86_64, i686 and aarch64 cross compiler.

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